Function at 0x4014de
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x2e84
call fcn.00402320
mov eax, 0
mov dword [ebp - 0x2e54], eax
mov eax, 0
mov dword [ebp - 0x2e58], eax
mov eax, 0
mov dword [ebp - 0x2e5c], eax
mov eax, 0
mov dword [ebp - 0x2e44], eax
mov eax, dword [ebp - 0x2e44]
cmp eax, 0x32
jge 0x401570
jmp 0x401539
mov eax, dword [ebp - 0x2e44]
mov ecx, eax
inc eax
mov dword [ebp - 0x2e44], eax
jmp 0x401514
mov eax, dword [ebp - 0x2e44]
shl eax, 2
lea ecx, [ebp - 0x2e40]
add ecx, eax
mov eax, 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp - 0x2e44]
mov ecx, 0x64
imul eax, ecx
lea ecx, [ebp - 0x2d56]
add ecx, eax
mov eax, 0
mov byte [ecx], al
jmp 0x401528
mov eax, str.import
push eax
lea eax, [ebp - 0x17da]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, str.export
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x40300f
push eax
lea eax, [ebp - 0x2d74]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, str._____.________
push eax
lea eax, [ebp - 0x2d6d]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0
mov dword [ebp - 0x2e6c], eax
mov eax, 0
mov dword [ebp - 0x2e70], eax
mov eax, 1
mov dword [ebp - 0x2e64], eax
mov eax, 0
mov byte [ebp - 0x1776], al
mov eax, 0
mov dword [ebp - 0x2e7c], eax
mov eax, 0
mov dword [ebp - 0x2e78], eax
mov eax, 0x403038
push eax
mov eax, str.csv2html.ini
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [0x4033e0], eax
mov eax, dword [0x4033e0]
cmp eax, 0
je 0x401a8e
mov eax, dword [0x4033e0]
push eax
mov eax, 0x7d0
push eax
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x401659
jmp 0x401a7f
lea eax, [ebp - 0x7d2]
push eax
call fcn.004013dc
add esp, 4
lea eax, [ebp - 0x7d2]
push eax
lea eax, [ebp - 0xfa4]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0xfa4]
push eax
call fcn.00401482
add esp, 4
mov eax, 0
mov dword [ebp - 0x2e68], eax
mov eax, 0
push eax
mov eax, str..CSV
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x4016f9
mov eax, dword [ebp - 0x2e50]
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x17da]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x2e68], eax
mov eax, 0
push eax
mov eax, str..HTML
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x401770
mov eax, dword [ebp - 0x2e50]
inc eax
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, str.html
push eax
lea eax, [ebp - 0x2d74]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x2e68], eax
mov eax, 0
push eax
mov eax, str..ASP
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x4017e7
mov eax, dword [ebp - 0x2e50]
inc eax
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x403051
push eax
lea eax, [ebp - 0x2d74]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x2e68], eax
mov eax, 0
push eax
mov eax, str..PHP
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x40185e
mov eax, dword [ebp - 0x2e50]
inc eax
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x40305a
push eax
lea eax, [ebp - 0x2d74]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x2e68], eax
mov eax, 0
push eax
mov eax, 0x40305e
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x4018a4
mov eax, 1
mov dword [ebp - 0x2e78], eax
mov eax, 1
mov dword [ebp - 0x2e68], eax
mov eax, dword [ebp - 0x2e68]
cmp eax, 0
jne 0x401a7a
movsx eax, byte [ebp - 0x7d2]
mov dword [ebp - 0x2e60], eax
mov eax, dword [ebp - 0x2e5c]
cmp eax, 0
jne 0x401936
mov eax, 1
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x2d6f]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0
push eax
lea eax, [ebp - 0x2d6f]
push eax
lea eax, [ebp - 0x2d6d]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
je 0x401931
mov eax, dword [ebp - 0x2e60]
mov dword [ebp - 0x2e5c], eax
jmp 0x401a66
mov eax, 0
push eax
mov eax, 0x403061
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jle 0x401a28
mov eax, dword [ebp - 0x2e50]
cmp eax, 3
jge 0x401a28
mov eax, dword [ebp - 0x2e50]
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
lea eax, [ebp - 0x196a]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x196a]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
dec eax
mov dword [ebp - 0x2e44], eax
mov eax, dword [ebp - 0x2e44]
cmp eax, 0x33
jge 0x401a23
mov eax, dword [ebp - 0x2e44]
mov ecx, 0x64
imul eax, ecx
lea ecx, [ebp - 0x2d56]
add ecx, eax
mov eax, dword [ebp - 0x2e50]
inc eax
push eax
lea eax, [ebp - 0x7d2]
push eax
mov dword [ebp - 0x2e80], ecx
call fcn.0040131c
add esp, 8
push eax
mov eax, dword [ebp - 0x2e80]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x2e44]
mov ecx, dword [ebp - 0x2e58]
cmp eax, ecx
jle 0x401a23
mov eax, dword [ebp - 0x2e44]
mov dword [ebp - 0x2e58], eax
jmp 0x401a66
mov eax, dword [ebp - 0x2e54]
shl eax, 2
lea ecx, [ebp - 0x2e40]
add ecx, eax
lea eax, [ebp - 0x7d2]
push eax
mov dword [ebp - 0x2e84], ecx
call sub.msvcrt.dll_atoi
add esp, 4
dec eax
mov ecx, dword [ebp - 0x2e84]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2e54]
mov ecx, eax
inc eax
mov dword [ebp - 0x2e54], eax
mov eax, dword [ebp - 0x2e54]
cmp eax, 0x32
jle 0x401a7a
jmp 0x401a7f
jmp 0x40162f
mov eax, dword [0x4033e0]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [ebp - 0x2e5c]
cmp eax, 0
jne 0x401aa8
mov eax, 0x2c
mov dword [ebp - 0x2e5c], eax
mov eax, str..csv
push eax
lea eax, [ebp - 0x17da]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
mov eax, 0x403068
push eax
lea eax, [ebp - 0x17da]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [0x4033e4], eax
mov eax, dword [0x4033e4]
cmp eax, 0
je 0x402277
mov eax, 0x403079
push eax
mov eax, 0x40306c
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [0x4033ec], eax
mov eax, dword [0x4033ec]
cmp eax, 0
je 0x402277
lea eax, [ebp - 0x2d74]
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
mov eax, 0x40307b
push eax
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [0x4033e8], eax
mov eax, dword [0x4033e8]
cmp eax, 0
je 0x401da0
mov eax, 1
mov dword [ebp - 0x2e6c], eax
mov eax, dword [0x4033e8]
push eax
mov eax, 0x7d0
push eax
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x401b85
jmp 0x401cda
lea eax, [ebp - 0x7d2]
push eax
lea eax, [ebp - 0xfa4]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0xfa4]
push eax
call fcn.00401482
add esp, 4
mov eax, 0
push eax
mov eax, str._CSV2HTML_
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
je 0x401c44
mov eax, dword [ebp - 0x2e50]
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
mov eax, 0x40308a
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, dword [ebp - 0x2e50]
add eax, 0xa
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040131c
add esp, 8
push eax
lea eax, [ebp - 0x1776]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 1
mov dword [ebp - 0x2e70], eax
jmp 0x401cda
mov eax, 0
push eax
mov eax, str._TABLE_IDCSV2HTML
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jne 0x401c95
lea eax, [ebp - 0x7d2]
push eax
mov eax, 0x4030a2
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
jmp 0x401cd5
mov eax, dword [ebp - 0x2e50]
cmp eax, 0
jle 0x401cd0
mov eax, dword [ebp - 0x2e50]
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040125c
add esp, 8
push eax
mov eax, 0x4030a5
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
jmp 0x401cda
jmp 0x401b5b
mov eax, dword [ebp - 0x2e70]
cmp eax, 0
jne 0x401d9b
mov eax, dword [0x4033e8]
push eax
mov eax, 0x7d0
push eax
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x401d13
jmp 0x401d9b
lea eax, [ebp - 0x7d2]
push eax
lea eax, [ebp - 0xfa4]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0xfa4]
push eax
call fcn.00401482
add esp, 4
mov eax, 0
push eax
mov eax, str.__TABLE_
push eax
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
je 0x401d96
mov eax, dword [ebp - 0x2e50]
add eax, 8
push eax
lea eax, [ebp - 0x7d2]
push eax
call fcn.0040131c
add esp, 8
push eax
lea eax, [ebp - 0x1776]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
jmp 0x401d9b
jmp 0x401ce9
jmp 0x401e4c
lea eax, [ebp - 0x183e]
push eax
mov eax, str._html__head__title__s__title__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, str._style__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, str.csv2html_tr_background:ADD8E6_color:black__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, str.csv2html_tr:nth_child_odd__background:white__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, str.csv2html_th_background_color:navy_color:white__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, str.__style__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
lea eax, [ebp - 0x183e]
push eax
mov eax, str.__head__body__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x2e70], eax
mov eax, str._table_idcsv2html_border1_cellspacing0_cellpadding4__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [0x4033e4]
push eax
mov eax, 0x7d0
push eax
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x401e8b
jmp 0x402114
mov eax, 1
mov dword [ebp - 0x2e74], eax
mov eax, 0
mov dword [ebp - 0x2e48], eax
mov eax, dword [ebp - 0x2e58]
inc eax
mov ecx, dword [ebp - 0x2e48]
cmp ecx, eax
jge 0x401f72
jmp 0x401ecc
mov eax, dword [ebp - 0x2e48]
mov ecx, eax
inc eax
mov dword [ebp - 0x2e48], eax
jmp 0x401ea1
mov eax, dword [ebp - 0x2e48]
mov ecx, 0x64
imul eax, ecx
lea ecx, [ebp - 0x2d56]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 0
jle 0x401f6d
mov eax, dword [ebp - 0x2e48]
push eax
mov eax, dword [ebp - 0x2e5c]
push eax
lea eax, [ebp - 0x7d2]
push eax
lea eax, [ebp - 0x1906]
push eax
call section..text
add esp, 0x10
lea eax, [ebp - 0x1906]
push eax
call fcn.004013dc
add esp, 4
mov eax, dword [ebp - 0x2e48]
mov ecx, 0x64
imul eax, ecx
lea ecx, [ebp - 0x2d56]
add ecx, eax
mov eax, 0
push eax
push ecx
lea eax, [ebp - 0x1906]
push eax
call fcn.0040117c
add esp, 0xc
mov dword [ebp - 0x2e50], eax
mov eax, dword [ebp - 0x2e50]
cmp eax, 0xffffffff
jne 0x401f6d
mov eax, 0
mov dword [ebp - 0x2e74], eax
jmp 0x401ebb
mov eax, dword [ebp - 0x2e64]
test eax, eax
je 0x401f8b
mov eax, 1
mov dword [ebp - 0x2e74], eax
mov eax, dword [ebp - 0x2e74]
test eax, eax
je 0x40210f
mov eax, str._tr_
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [ebp - 0x2e78]
test eax, eax
je 0x40200f
mov eax, dword [ebp - 0x2e64]
test eax, eax
je 0x401fe4
mov eax, str._th_nbsp___th_
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
jmp 0x40200f
mov eax, dword [ebp - 0x2e7c]
mov ecx, eax
inc eax
mov dword [ebp - 0x2e7c], eax
mov eax, dword [ebp - 0x2e7c]
push eax
mov eax, str._td__d__td_
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, 0
mov dword [ebp - 0x2e44], eax
mov eax, dword [ebp - 0x2e44]
mov ecx, dword [ebp - 0x2e54]
cmp eax, ecx
jge 0x4020ef
jmp 0x402044
mov eax, dword [ebp - 0x2e44]
mov ecx, eax
inc eax
mov dword [ebp - 0x2e44], eax
jmp 0x40201a
mov eax, dword [ebp - 0x2e44]
shl eax, 2
lea ecx, [ebp - 0x2e40]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2e4c], eax
mov eax, dword [ebp - 0x2e4c]
cmp eax, 0xffffffff
jle 0x4020ea
mov eax, dword [ebp - 0x2e4c]
push eax
mov eax, dword [ebp - 0x2e5c]
push eax
lea eax, [ebp - 0x7d2]
push eax
lea eax, [ebp - 0x1906]
push eax
call section..text
add esp, 0x10
lea eax, [ebp - 0x1906]
push eax
call fcn.004013dc
add esp, 4
mov eax, dword [ebp - 0x2e64]
test eax, eax
je 0x4020ce
lea eax, [ebp - 0x1906]
push eax
mov eax, str._th__s__th_
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
jmp 0x4020ea
lea eax, [ebp - 0x1906]
push eax
mov eax, str._td__s__td_
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
jmp 0x402033
mov eax, 0
mov dword [ebp - 0x2e64], eax
mov eax, str.__tr__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
jmp 0x401e61
mov eax, dword [0x4033e4]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, str.__table__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [ebp - 0x2e6c]
test eax, eax
je 0x4021f8
lea eax, [ebp - 0x1776]
push eax
call fcn.004013dc
add esp, 4
lea eax, [ebp - 0x1776]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0
jbe 0x402189
lea eax, [ebp - 0x1776]
push eax
mov eax, 0x403212
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, dword [0x4033e8]
push eax
mov eax, 0x7d0
push eax
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x4021b3
jmp 0x4021f8
lea eax, [ebp - 0x7d2]
push eax
call fcn.004013dc
add esp, 4
lea eax, [ebp - 0x7d2]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0
jbe 0x4021f6
lea eax, [ebp - 0x7d2]
push eax
mov eax, 0x403216
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
jmp 0x402189
mov eax, dword [ebp - 0x2e70]
test eax, eax
je 0x40221b
mov eax, str.__body___html__n
push eax
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [0x4033ec]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [ebp - 0x2e6c]
test eax, eax
je 0x402247
mov eax, dword [0x4033e8]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
lea eax, [ebp - 0x183e]
push eax
call sub.msvcrt.dll_remove
add esp, 4
mov dword [ebp - 0x2e44], eax
lea eax, [ebp - 0x183e]
push eax
mov eax, str.csv2html.tmp
push eax
call sub.msvcrt.dll_rename
add esp, 8
mov dword [ebp - 0x2e44], eax
leave
ret