Function at 0x4304d0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0xa04]
sub esp, 0xa04
push 0xffffffffffffffff
push 0x4e75f6
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x53fa2c]
xor eax, ebp
mov dword [ebp + 0xa00], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 3
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53f374]
mov esi, eax
neg eax
sbb eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 6
test esi, esi
jle 0x4305fb
cmp dword [ebp - 0x2c], 0
je 0x4305fb
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x53f368
call fcn.0042d6b0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x53f368
call fcn.0042f350
test eax, eax
setne al
test al, al
je 0x430580
push 0x502818
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x430580
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x108]
call sub.mfc90.dll_Ordinal_6153
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x158]
push edx
lea ecx, [ebp - 0x160]
call sub.mfc90.dll_Ordinal_6153
jmp 0x430580
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x64], eax
mov edi, 0x45
cmp dword [0x103a97c], edi
jne 0x430630
mov ecx, dword [ebp - 0x20]
push ecx
push eax
push str.FileSendThread
push 8
call fcn.0043d500
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x64], ebx
jle 0x431467
test dword [0x1042d7c], 0x20000
jne 0x430653
push 0x64
jmp 0x430658
push 0x3f1
call eax
push ebx
lea ecx, [ebp - 0x108]
call fcn.004094e0
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 7
push ebx
lea ecx, [ebp - 0x108]
call fcn.004094e0
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 8
push ebx
lea ecx, [ebp - 0x160]
call fcn.004094e0
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 9
push 0
push 0x2d
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2480]
cmp eax, 0xffffffff
jne 0x4307d1
push 2
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov esi, eax
mov byte [ebp - 4], 0xa
push 5
push 4
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4507]
mov edi, eax
mov byte [ebp - 4], 0xb
push 4
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
mov byte [ebp - 4], 0xc
push 0x502aa0
push eax
lea edx, [ebp - 0xb8]
push edx
call fcn.00402a60
mov byte [ebp - 4], 0xd
push edi
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004029d0
mov byte [ebp - 4], 0xe
push 0x502aa0
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00402a60
mov byte [ebp - 4], 0xf
push esi
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.004029d0
add esp, 0x30
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edi, 0x45
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00445b00
mov byte [ebp - 4], 0x17
mov byte [ebp + 0x800], 0
push 0x1ff
push 0
lea edx, [ebp + 0x801]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x44]
call fcn.00446010
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x10da2e0
push str._sLogFTPD_s_s
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x800]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00445990
lea edx, [ebp + 0x800]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_820]
test dword [0x1042d84], 0x8000
je 0x4308ff
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x17
call fcn.0042cda0
add esp, 4
cmp eax, 1
jne 0x4308ff
cmp dword [0x103a97c], edi
jne 0x4308b1
mov ecx, dword [ebp - 0x14]
push ecx
push str.PutFTPFile
push 8
call fcn.0043d500
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6153
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00458540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc ebx
mov edi, 0x45
jmp 0x430632
test dword [0x1042d84], 0x100000
je 0x43099d
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x17
call fcn.0042cda0
add esp, 4
cmp eax, 2
jne 0x43099d
cmp dword [0x103a97c], edi
jne 0x43094f
mov eax, dword [ebp - 0x14]
push eax
push 0x505e28
push 8
call fcn.0043d500
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6153
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00458540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc ebx
mov edi, 0x45
jmp 0x430632
test dword [0x1042d84], 0x20000
je 0x4309ce
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x17
call fcn.0042cda0
add esp, 4
cmp eax, 4
je 0x430a4a
test dword [0x1042d84], 0x40000
je 0x4309ff
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x17
call fcn.0042cda0
add esp, 4
cmp eax, 2
je 0x430a4a
test dword [0x1042d84], 0x80000
je 0x430a30
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x17
call fcn.0042cda0
add esp, 4
cmp eax, 1
je 0x430a4a
test dword [0x1042d84], 0xe0000
je 0x430a4a
mov ecx, dword [ebp - 0x14]
push ecx
push 0x505de8
jmp 0x4308a7
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00445990
lea ecx, [ebp - 0x44]
call fcn.00446080
test eax, eax
jne 0x430aaf
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x44]
call fcn.00445990
lea ecx, [ebp - 0x44]
call fcn.00446080
test eax, eax
jne 0x430aa2
cmp dword [0x103a97c], edi
jne 0x430a95
mov eax, dword [ebp - 0x14]
push eax
push str.PutFTPFile_file
push 8
call fcn.0043d500
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x50]
push edx
jmp 0x4308b9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov dword [ebp - 0xf4], 0
xor eax, eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0xf4]
push ecx
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test byte [ebp - 0xf4], 0x10
je 0x430b1c
cmp dword [0x103a97c], edi
jne 0x430a95
mov eax, dword [ebp - 0x14]
push eax
push str.PutFTPFile_Folder
jmp 0x430a8b
push 1
push 0
push 0
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004e0460
mov edi, eax
mov esi, edx
mov ecx, dword [ebp - 0xd4]
xor edx, edx
add edi, ecx
adc esi, edx
mov eax, edi
or eax, esi
jne 0x430b5f
cmp dword [0x103a97c], 0x45
jne 0x4308b1
mov ecx, dword [ebp - 0x14]
push ecx
push 0x505d68
jmp 0x4308a7
mov eax, dword [0x1043034]
sar eax, 4
and eax, 0xfff
cdq
mov ebx, eax
mov dword [ebp - 0x10c], edx
mov ecx, ebx
or ecx, edx
je 0x430bd0
push 0
push 0x100000
push edx
push ebx
call fcn.004e0460
cmp edx, esi
ja 0x430bd0
jb 0x430b93
cmp eax, edi
jae 0x430bd0
cmp dword [0x103a97c], 0x45
jne 0x430bbb
push esi
push edi
push edx
push eax
mov eax, dword [ebp - 0x10c]
push eax
push ebx
mov ecx, dword [ebp - 0x14]
push ecx
push 0x505cf8
push 8
call fcn.0043d500
add esp, 0x24
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6153
jmp 0x431426
cmp dword [0x103a97c], 0x23
jne 0x430bf0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push str.FileSendThread_2
push 8
call fcn.0043d500
add esp, 0x10
call fcn.0042c830
test al, al
jne 0x430cb4
xor eax, eax
mov dword [0x5dab7c], eax
mov dword [0x5dab78], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00458540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.mfc90.dll_Ordinal_781
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_781
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x108]
call sub.mfc90.dll_Ordinal_781
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa00]
xor ecx, ebp
call fcn.004e0148
add ebp, 0xa04
mov esp, ebp
pop ebp
ret
cmp dword [0x103a97c], 0x45
jne 0x430d17
push 0x505cc4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00402a60
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004029d0
mov byte [ebp - 4], 0x1f
mov ecx, dword [eax]
push ecx
push 0x505ca4
push 8
call fcn.0043d500
add esp, 0x24
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [0x103aca0]
xor ebx, ebx
cmp dword [edx - 0xc], ebx
mov esi, 0x5116d8
je 0x430d2e
mov esi, 0x502dec
push 0x103aca0
push 0x502dec
lea eax, [ebp - 0xc8]
push eax
call fcn.00410070
mov byte [ebp - 4], 0x20
push esi
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00402a60
mov byte [ebp - 4], 0x21
push 0x5daba0
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.004029d0
add esp, 0x24
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x103aca0]
cmp dword [eax - 0xc], ebx
mov esi, 0x5116d8
je 0x430d9a
mov esi, 0x502dec
push 0x103aca0
push 0x502dec
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00410070
mov byte [ebp - 4], 0x25
push esi
push eax
lea edx, [ebp - 0x6c]
push edx
call fcn.00402a60
mov byte [ebp - 4], 0x26
push 0x5daba0
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004029d0
mov byte [ebp - 4], 0x27
push 0x502dec
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00402a60
mov byte [ebp - 4], 0x28
lea edx, [ebp - 0x1c]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004029d0
add esp, 0x3c
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x88]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xa0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [0x5dab7c]
cmp ecx, ebx
je 0x430f8d
push 0x502dec
call sub.mfc90.dll_Ordinal_6225
lea ecx, [ebp - 0x124]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 0x2e
push 0x502dec
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00492540
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x98], esi
cmp esi, dword [ebp - 0x11c]
jge 0x430ed6
push esi
lea ecx, [ebp - 0x124]
call fcn.004094e0
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x430ed3
push esi
lea ecx, [ebp - 0x124]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_1758
push esi
lea ecx, [ebp - 0x124]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_6225
inc esi
jmp 0x430e7e
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x124]
call sub.mfc90.dll_Ordinal_781
mov ecx, dword [0x5dab7c]
cmp ecx, ebx
je 0x430f8d
push 0x502dec
call sub.mfc90.dll_Ordinal_6225
lea ecx, [ebp - 0x138]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 0x2f
push 0x502dec
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00492540
add esp, 0xc
xor esi, esi
mov dword [ebp - 0xa8], esi
cmp esi, dword [ebp - 0x130]
jge 0x430f7e
push esi
lea ecx, [ebp - 0x138]
call fcn.004094e0
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x430f7b
push esi
lea ecx, [ebp - 0x138]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_1758
push esi
lea ecx, [ebp - 0x138]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_6225
inc esi
jmp 0x430f26
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x138]
call sub.mfc90.dll_Ordinal_781
mov eax, dword [0x103a97c]
cmp eax, 0x45
je 0x430f9c
cmp eax, 0x55
jne 0x430fb4
mov ecx, dword [ebp - 0x2c]
push ecx
push str.CreateDirectory_SetCurrentDirectory_path2__s_
push 8
call fcn.0043d500
add esp, 0xc
mov eax, dword [0x103a97c]
cmp eax, 0x45
jne 0x430ff6
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x44]
call fcn.00446010
mov byte [ebp - 4], 0x30
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.PutFTPFile_Directory
push 8
call fcn.0043d500
add esp, 0x14
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xb0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x31
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x44]
push edx
call fcn.0042cef0
mov byte [ebp - 4], 0x32
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x33
push ebx
mov byte [ebp - 4], 0x2d
call fcn.0042d960
add esp, 0x20
cmp eax, ebx
jne 0x4312a7
test byte [0x5dab74], 1
je 0x4312a7
mov ecx, dword [0x5dab7c]
cmp ecx, ebx
je 0x431072
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
cmp eax, ebx
je 0x43108f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
mov edi, 0x20000
test dword [0x1042d7c], edi
jne 0x4310af
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
cmp ecx, ebx
je 0x4310c1
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x5dab78]
cmp eax, ebx
je 0x4310d0
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [0x5dab7c], ebx
mov dword [0x5dab78], ebx
call fcn.0042c710
cmp dword [0x103a97c], 0x45
jne 0x43114a
push 0x505cc4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xcc]
push edx
call fcn.00402a60
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp - 0xa4]
push edx
call fcn.004029d0
mov byte [ebp - 4], 0x35
mov eax, dword [eax]
push eax
push str.re__PutFTPFile
push 8
call fcn.0043d500
add esp, 0x24
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xa4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xcc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [0x5dab7c]
cmp ecx, ebx
je 0x4311f2
push 0x502dec
call sub.mfc90.dll_Ordinal_6225
lea ecx, [ebp - 0x14c]
call sub.mfc90.dll_Ordinal_580
mov byte [ebp - 4], 0x36
push 0x502dec
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00492540
add esp, 0xc
xor esi, esi
mov dword [ebp - 0xac], esi
cmp esi, dword [ebp - 0x144]
jge 0x4311e3
push esi
lea ecx, [ebp - 0x14c]
call fcn.004094e0
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x4311e0
push esi
lea ecx, [ebp - 0x14c]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_1758
push esi
lea ecx, [ebp - 0x14c]
call fcn.004094e0
mov eax, dword [eax]
push eax
mov ecx, dword [0x5dab7c]
call sub.mfc90.dll_Ordinal_6225
inc esi
jmp 0x43118b
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x14c]
call sub.mfc90.dll_Ordinal_781
mov eax, dword [0x103a97c]
cmp eax, 0x45
je 0x431201
cmp eax, 0x55
jne 0x431214
mov ecx, dword [ebp - 0x24]
push ecx
push str.CreateDirectory_SetCurrentDirectory_path6__s_
push 8
call fcn.0043d500
add esp, 0xc
cmp dword [0x103a97c], 0x45
jne 0x431254
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00446010
mov byte [ebp - 4], 0x37
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.re__PutFTPFile_Directory
push 8
call fcn.0043d500
add esp, 0x14
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x38
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x44]
push edx
call fcn.0042cef0
mov byte [ebp - 4], 0x39
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 0x3a
push 1
mov byte [ebp - 4], 0x2d
call fcn.0042d960
add esp, 0x20
jmp 0x4312ac
mov edi, 0x20000
cmp dword [0x103a97c], 0x45
jne 0x4312e8
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00446010
mov byte [ebp - 4], 0x3b
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x14]
push eax
push str.PutFTPFile........
push 8
call fcn.0043d500
add esp, 0x10
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.LogFTPD_
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x43131e
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0xa
jle 0x43131e
push eax
push str.DeleteFile_4__s_
push 8
call fcn.0043d500
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6153
test dword [0x1042d7c], edi
jne 0x43133e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0xf4]
push edx
push ebx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test byte [ebp - 0xf4], 6
je 0x431390
push ebx
push str..html
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
je 0x431390
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0xa
jle 0x431390
push eax
push str.DeleteFile_5__s_
push 8
call fcn.0043d500
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x5dab7c]
cmp ecx, ebx
je 0x4313a7
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
cmp eax, ebx
je 0x4313c4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
test dword [0x1042d7c], edi
jne 0x4313df
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x5dab7c]
mov eax, dword [0x5dab78]
cmp ecx, ebx
je 0x4313f1
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x5dab78]
cmp eax, ebx
je 0x431400
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [0x5dab7c], ebx
mov dword [0x5dab78], ebx
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00458540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [ebp - 0x5c]
inc ebx
mov edi, 0x45
jmp 0x430632
cmp dword [0x5dab7c], 0
je 0x431487
cmp dword [0x103a97c], edi
jne 0x431487
push str.PutFTPFile_CInternetSession_FTP_DISConnect
push 8
call fcn.0043d500
add esp, 8
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x50], esi
jle 0x4314e8
push esi
lea ecx, [ebp - 0x58]
call fcn.004094e0
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 0x502818
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x53f368
call fcn.0042f720
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_820]
cmp dword [0x103a97c], edi
jne 0x4314e5
mov edx, dword [ebp - 0x20]
push edx
push str.PutFTPFile_Sended__s_
push 8
call fcn.0043d500
add esp, 0xc
inc esi
jmp 0x431494
push 0x1070f00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.mfc90.dll_Ordinal_781
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call sub.mfc90.dll_Ordinal_781
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x108]
call sub.mfc90.dll_Ordinal_781
mov dword [ebp - 4], 0xffffffff
mov eax, 1
jmp 0x430c8f