Function at 0x42f810
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e7398
mov eax, dword fs:[0]
push eax
mov eax, 0x3a40
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x3a3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x3a54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x3a5c], ebp
mov eax, dword [0x1042d84]
and eax, 0x10003
push 0x1070cd0
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2bff
lea eax, [esp + 0xe55]
push ebp
push eax
mov byte [esp + 0xe5c], 0
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x3a70]
mov ecx, dword [0x53f374]
push 0x502a9c
push edx
mov byte [esp + 0x2e], 0
mov dword [esp + 0x50], ecx
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 0x14
cmp esi, ebp
jne 0x42f8e1
push 0x1070cd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x3a5c], 0xffffffff
lea ecx, [esp + 0x3a64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x430346
push 0xffffffffffffffff
push ebp
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_6494
mov edi, dword [sym.imp.MSVCR90.dll_fgets]
push esi
lea eax, [esp + 0xe54]
push 0x2c00
push eax
call edi
add esp, 0xc
test eax, eax
jbe 0x42f9ee
mov bl, 0x2d
test byte [0x1043104], 8
je 0x42f97c
push ecx
lea edx, [esp + 0xe54]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x3a60], 1
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3a64], 0
call fcn.0048eab0
add esp, 8
mov byte [esp + 0x3a5c], 2
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xe50]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42f961
mov byte [esp + 0x3a5c], cl
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0xe52], bl
jne 0x42f9c0
mov al, byte [esp + 0xe61]
cmp al, 0x2c
je 0x42f994
cmp al, 0x7c
jne 0x42f9c0
cmp byte [esp + 0xe67], bl
jne 0x42f9c0
cmp byte [esp + 0xe70], 0x3a
jne 0x42f9c0
mov edx, dword [0x5dab90]
lea ecx, [esp + 0xe50]
push ecx
push edx
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_6154
push 0x2c00
lea eax, [esp + 0xe54]
push ebp
push eax
call sub.MSVCR90.dll_memset
push esi
lea ecx, [esp + 0xe60]
push 0x2c00
push ecx
call edi
add esp, 0x18
test eax, eax
ja 0x42f911
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x3a5c], 3
mov eax, dword [0x5dab90]
cmp eax, ebp
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], ebp
jle 0x4300c3
mov esi, dword [esp + 0x1c]
mov edi, 4
lea ebp, [edi + 5]
jmp 0x42fa30
test esi, esi
jl 0x430121
cmp esi, eax
jge 0x430121
mov edx, dword [0x5dab8c]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x3a5c], 4
cmp dword [0x104307c], 0
je 0x42fa8d
push 0
push str.__S_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
je 0x42fa8d
push 1
push esi
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_5878
jmp 0x430098
push 0
push str._s_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
je 0x430098
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_6494
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x3a64], 5
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x505a90
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x3a6c], 6
mov byte [esp + 0x3a6c], 4
call fcn.004d90e0
add esp, 0x10
cmp dword [esp + 0x2c], ebp
je 0x42fb67
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_6494
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x3a64], 7
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x505a8c
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x3a6c], 8
mov byte [esp + 0x3a6c], 4
call fcn.004d90e0
add esp, 0x10
cmp dword [esp + 0x2c], ebp
jne 0x430098
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x3a5c], 9
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x2c], edi
jle 0x430121
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x4c]
push ecx
push eax
mov ecx, 0x53f368
call fcn.0042f2a0
test eax, eax
je 0x42fbc1
add eax, 4
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, 1
test eax, eax
push 0x1070f00
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push str._Memory_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push 0x502778
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push 0x502770
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Network_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Handle_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Thread_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Process_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Messenger_Body_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Printer_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._ScreenShot_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push 0x5024e0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Internet_Connection_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Body_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push str._Total_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
push 0
push 0x505a74
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x43002b
cmp dword [esp + 0x2c], edi
jle 0x430121
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
add ecx, 0x10
cmp dword [edx - 0xc], 3
jle 0x42fd81
push 0
call dword [sym.imp.mfc90.dll_Ordinal_899]
cmp al, 0x5b
je 0x43002b
test bl, bl
je 0x430086
push 0x502818
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x430086
mov ebx, dword [esp + 0x40]
test bl, 1
je 0x42fddc
push eax
push str.File_strain_leakage_blocking
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe90
push 0
push str.Block
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe90
mov esi, ebx
and esi, 2
je 0x42fe13
push 0
push str.File_strain_transfer
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe8c
push 0
push str.Transfer
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe8c
test bl, 0x40
je 0x42fe2e
push 0
push str.Detect_to_Block
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe8c
test ebx, 0x10000
je 0x42fe4c
push 0
push str._Mail_Body_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe8c
test esi, esi
je 0x430082
push 0
push str.Block_Device
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x42fe8c
test esi, esi
je 0x430082
push 0
push str.Block_Device_Size
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
je 0x430082
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x2c], edi
jle 0x430121
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
add ecx, 0x10
cmp dword [eax - 0xc], 3
jle 0x430086
push 1
call dword [sym.imp.mfc90.dll_Ordinal_899]
cmp al, 0x3a
jne 0x430086
push 0x1ff
lea ecx, [esp + 0x55]
push 0
push ecx
mov byte [esp + 0x5c], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea edx, [esp + 0x261]
push 0
push edx
mov byte [esp + 0x268], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea eax, [esp + 0x46d]
push 0
push eax
mov byte [esp + 0x474], 0
call sub.MSVCR90.dll_memset
add esp, 0x24
cmp dword [esp + 0x2c], edi
jle 0x430121
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x450]
push edx
push eax
call fcn.0044a8c0
add esp, 8
cmp eax, 0xffffffff
je 0x42ffc0
cmp dword [esp + 0x2c], 1
jle 0x430121
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x250]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x42ff53
lea ecx, [esp + 0x450]
push ecx
lea edx, [esp + 0x254]
push edx
push 0x10da2e0
mov byte [esp + 0x266], al
lea eax, [esp + 0x5c]
push str._sLogFTPD_s_s
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x64]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ff93
sub eax, edx
cmp eax, 0xa
jbe 0x42ffc0
lea ecx, [esp + 0x50]
push ecx
push str.DeleteFile_3__s_
push 8
call fcn.0043d500
add esp, 0xc
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str._S_
push str._s_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
cmp dword [0x104307c], 0
mov ecx, 0x5dab88
je 0x42ffec
push 1
push esi
call sub.mfc90.dll_Ordinal_5878
jmp 0x42fff7
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0042c5a0
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x2c], edi
jle 0x430121
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
push eax
mov ecx, 0x53f368
call fcn.0042f790
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x430086
push str._S_
push str._s_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
cmp dword [0x104307c], 0
je 0x43005c
push 1
push esi
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_5878
mov byte [esp + 0x1b], 1
jmp 0x430086
cmp esi, dword [0x5dab90]
jge 0x430121
mov eax, dword [0x5dab8c]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + esi*4]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1b], 1
jmp 0x430086
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x3a5c], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3a5c], 3
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x5dab90]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x42fa30
cmp byte [esp + 0x1b], 0
jne 0x4300d3
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [0x53f374]
je 0x4302fd
mov edx, dword [esp + 0x3a64]
push 0x5059c0
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCR90.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x430126
push 0xffffffffffffffff
push 0
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_6494
push 0x1070cd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x3a5c], 0
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_781
jmp 0x42f8c2
call sub.mfc90.dll_Ordinal_1252
push 0x7ff
lea ecx, [esp + 0x655]
push 0
push ecx
mov byte [esp + 0x65c], 0
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4302d6
push 0
push 0
push eax
call dword [sym.imp.MSVCR90.dll_fseek]
mov eax, dword [0x5dab90]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x4302d6
mov edi, dword [sym.imp.MSVCR90.dll_fputs]
mov bl, 0xd
test esi, esi
jl 0x430121
cmp esi, eax
jge 0x430121
mov edx, dword [0x5dab8c]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x3a5c], 0xa
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
cmp ecx, 0xa
jl 0x4302b6
cmp ecx, 0x800
jae 0x4301ca
lea edx, [esp + 0x650]
sub edx, eax
jmp 0x4301c0
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4301c0
test byte [0x1043104], 8
je 0x43023c
push ecx
lea eax, [esp + 0x654]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x3a60], 0xb
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x3a64], 0xa
call fcn.0048ecd0
add esp, 8
mov byte [esp + 0x3a5c], 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x650]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x430220
mov byte [esp + 0x3a5c], 0xa
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x650]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430246
sub eax, edx
cmp byte [esp + eax + 0x64e], bl
je 0x43029f
lea eax, [esp + 0x650]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430262
sub eax, edx
cmp byte [esp + eax + 0x64f], 0xa
je 0x43029f
lea eax, [esp + 0x650]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430280
sub eax, edx
mov byte [esp + eax + 0x650], bl
mov byte [esp + eax + 0x651], 0xa
mov byte [esp + eax + 0x652], cl
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x654]
push eax
call edi
add esp, 8
mov byte [esp + 0x1a], 1
mov byte [esp + 0x3a5c], 3
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x5dab90]
inc esi
cmp esi, eax
jl 0x430176
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
cmp byte [0x103a972], 0
je 0x4302fd
mov edx, dword [esp + 0x3a64]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1070cd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push 0
mov ecx, 0x5dab88
call sub.mfc90.dll_Ordinal_6494
movzx esi, byte [esp + 0x1a]
mov byte [esp + 0x3a5c], 0
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_781
mov dword [esp + 0x3a5c], 0xffffffff
lea ecx, [esp + 0x3a64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x3a54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a3c]
xor ecx, esp
call fcn.004e0148
add esp, 0x3a4c
ret