Function at 0x596090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x734da4
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
lea ecx, [ebp - 0x3b8]
call fcn.0057c800
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x148]
add edx, 0x1c
push edx
lea ecx, [ebp - 0x154]
call fcn.0057d860
mov eax, dword [ebp - 0x13c]
or eax, 1
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x148]
add ecx, 0x20
push ecx
lea ecx, [ebp - 0x190]
call fcn.0057d860
mov edx, dword [ebp - 0x13c]
or edx, 2
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x148]
add eax, 0x40
push eax
lea ecx, [ebp - 0x18c]
call fcn.0057d860
mov ecx, dword [ebp - 0x13c]
or ecx, 4
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0x214]
mov dword [ebp - 0x1f8], edx
mov ecx, dword [ebp - 0x1f8]
call fcn.00574df0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x214]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x220], esp
lea edx, [ebp - 0x190]
push edx
call fcn.0057d860
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x218], esp
lea eax, [ebp - 0x18c]
push eax
call fcn.0057d860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b8]
call fcn.00596be0
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x158]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
sar ecx, 6
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0
jne 0x596207
cmp dword [ebp + 0x10], 0
je 0x596207
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xfffffffe
lea eax, [ebp - 0x214]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x14c]
call fcn.00574dd0
jmp 0x59626f
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x14c]
add ecx, 0x40
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x21c], edx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a4]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x1ac]
call fcn.00574dd0
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x14c]
cmp edx, dword [ecx]
jne 0x5962d7
mov dword [ebp - 0x164], 1
jmp 0x5962e1
mov dword [ebp - 0x164], 0
mov al, byte [ebp - 0x164]
mov byte [ebp - 0x141], al
movzx ecx, byte [ebp - 0x141]
test ecx, ecx
jne 0x596304
mov dword [ebp - 0x168], 1
jmp 0x59630e
mov dword [ebp - 0x168], 0
mov dl, byte [ebp - 0x168]
mov byte [ebp - 0x142], dl
movzx eax, byte [ebp - 0x142]
test eax, eax
je 0x5967d5
lea ecx, [ebp - 0x2a8]
call fcn.0057c530
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
add edx, 0x10
push edx
lea ecx, [ebp - 0x140]
call fcn.0057d860
mov eax, dword [ebp - 0x13c]
or eax, 8
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 7
push 0x75ef9c
push 0x75ef9c
lea ecx, [ebp - 0x140]
call fcn.0059acf0
mov ecx, eax
call fcn.0059ab50
mov ecx, 0x75f01c
test ecx, ecx
jne 0x59639d
mov dword [ebp - 0x16c], 0
jmp 0x5963b0
push 0x75f01c
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
push edx
push 0x75f01c
lea ecx, [ebp - 0x140]
call fcn.005804a0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1b8], ecx
cmp dword [ebp - 0x1b8], 0
jne 0x5963eb
mov dword [ebp - 0x170], 1
jmp 0x5963f5
mov dword [ebp - 0x170], 0
movzx edx, byte [ebp - 0x170]
test edx, edx
jne 0x59646d
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x140]
call fcn.0057fce0
push 0x75f09c
push 0x75f09c
lea ecx, [ebp - 0x140]
call fcn.0059acf0
mov ecx, eax
call fcn.0059ab50
mov ecx, 0x75f0fc
test ecx, ecx
jne 0x596443
mov dword [ebp - 0x174], 0
jmp 0x596456
push 0x75f0fc
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
push edx
push 0x75f0fc
lea ecx, [ebp - 0x140]
call fcn.005804a0
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
lea eax, [ebp - 0x140]
push eax
call fcn.0057d860
lea ecx, [ebp - 0x2a8]
call fcn.0059a250
mov ecx, dword [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x17c]
call fcn.0057d860
mov edx, dword [ebp - 0x13c]
or edx, 0x10
mov dword [ebp - 0x13c], edx
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x140]
call fcn.005804a0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x17c]
sub edx, 0x10
mov dword [ebp - 0x1c4], edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00577240
xorps xmm0, xmm0
movlpd qword [ebp - 0x138], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0070dc20
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.005785c0
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x596666
lea ecx, [ebp - 0x140]
call fcn.005785c0
mov dword [ebp - 0x1cc], eax
push 0
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.005d617c
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
jne 0x596666
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x148]
push edx
push 0
lea ecx, [ebp - 0x330]
call fcn.0057c800
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x330]
call fcn.00596cd0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x140]
push eax
push str.GetStatus_Failed_for_:__s_Error__s
push str.CFTPTask::GetLocalFileDetails
push 0x2ba
push 0x75f158
push 3
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x24
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x180]
sub edx, 0x10
mov dword [ebp - 0x1d8], edx
mov ecx, dword [ebp - 0x1d8]
call fcn.00577240
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x330]
call fcn.0057e7e0
push ecx
mov eax, esp
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x148]
push ecx
mov ecx, dword [ebp - 0x1dc]
call fcn.0057d860
mov edx, dword [ebp - 0x13c]
or edx, 0x40
mov dword [ebp - 0x13c], edx
lea ecx, [ebp - 0x2a8]
call fcn.00599f10
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x150]
call fcn.00577fb0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x1e4], 0
mov edx, dword [ebp - 0x1e4]
push edx
lea eax, [ebp - 0x150]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
lea edx, [ebp - 0x140]
push edx
call fcn.0057d860
mov ecx, dword [ebp - 0x184]
call fcn.00595d30
lea ecx, [ebp - 0x188]
lea eax, [ebp - 0x150]
push eax
call fcn.0057bea0
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x1e8], ecx
lea edx, [ebp - 0x188]
push edx
mov ecx, dword [ebp - 0x1e8]
call fcn.0057f1d0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x188]
sub eax, 0x10
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.00577240
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x284], edx
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0057a550
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x150]
sub eax, 0x10
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
call fcn.00577240
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x140]
sub ecx, 0x10
mov dword [ebp - 0x208], ecx
mov ecx, dword [ebp - 0x208]
call fcn.00577240
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a8]
call fcn.00575420
jmp 0x596248
mov byte [ebp - 0x143], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x214]
call fcn.0059c560
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18c]
sub edx, 0x10
mov dword [ebp - 0x1fc], edx
mov ecx, dword [ebp - 0x1fc]
call fcn.00577240
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x190]
sub eax, 0x10
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
call fcn.00577240
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x154]
sub ecx, 0x10
mov dword [ebp - 0x204], ecx
mov ecx, dword [ebp - 0x204]
call fcn.00577240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.0057e7e0
mov al, byte [ebp - 0x143]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 0xc