Function at 0x4ca940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x4a3c]
mov eax, 0x4a3c
call fcn.00614970
push 0xffffffffffffffff
push 0x64556e
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x4a38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp]
call fcn.005422a0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x448]
push 0
push eax
lea ecx, [ebp]
call fcn.00543b40
test eax, eax
jne 0x4ca9f9
push 0x30
mov eax, dword [0x74ff04]
push eax
mov ecx, dword [0x75002c]
push ecx
push 0
call fcn.0046db70
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.005422e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4a38]
xor ecx, ebp
call fcn.00613241
add ebp, 0x4a3c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 0x3d20]
call fcn.005ad3a0
mov byte [ebp - 4], 2
push 1
lea edx, [ebp + 0x3d20]
push edx
lea ecx, [ebp]
call fcn.005431f0
test eax, eax
je 0x4caa4a
push 0x30
mov eax, dword [0x74ff04]
push eax
mov ecx, dword [0x75002c]
push ecx
push 0
call fcn.0046db70
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3d20]
call fcn.005ad5a0
jmp 0x4ca9c6
push 0
push 0
lea ecx, [ebp + 0x3d20]
call fcn.005ab230
lea edx, [ebp + 0x3d20]
push edx
mov ecx, dword [0x74efa4]
call fcn.00509cf0
push 0
lea ecx, [ebp + 0x3d20]
call fcn.005ab100
lea eax, [ebp + 0x3d20]
push eax
call fcn.004aab30
add esp, 4
mov ecx, dword [0x74f034]
mov dword [ebp + 0x3d20], ecx
mov dword [ebp + 0x3d24], 5
cmp dword [esi + 0x41c], 0
je 0x4caaae
mov eax, dword [esi + 0x41c]
jmp 0x4caab4
lea eax, [esi + 0x420]
lea edi, [esi + 0x460]
push 0
push eax
push str._smanuallogin.html
mov ecx, edi
call fcn.004021b0
cmp dword [edi], 0
je 0x4caad2
mov edi, dword [edi]
jmp 0x4caad5
add edi, 4
push edi
lea ecx, [ebp + 0x3d20]
call fcn.005b1e50
mov dl, byte [esi + 0x2bb]
mov byte [ebp + 0x47f3], dl
push 1
lea ecx, [ebp + 0x3d20]
call fcn.005bb720
push 7
push 0x1436
push 0x111
mov eax, dword [esi + 0x418]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
mov eax, dword [ebp + 0x465c]
cmp eax, ebx
je 0x4cab34
test eax, eax
je 0x4cab34
push 0x64
call edi
jmp 0x4cab20
push 0
push 0x1437
push 0x111
mov ecx, dword [esi + 0x418]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 0x465c], ebx
je 0x4caba3
mov dword [ebp + 0x3d24], 0
mov edx, dword [0x750028]
push edx
push 0
push 1
lea ecx, [ebp + 0x3d20]
call fcn.005b2780
mov eax, dword [ebp + 0x3d70]
push eax
call fcn.00616da3
add esp, 4
lea ecx, [ebp + 0x3d20]
call fcn.005b1f50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3d20]
call fcn.005ad5a0
jmp 0x4ca9c6
mov dword [ebp - 0x18], 0
cmp dword [esi + 0x460], 0
je 0x4cabbb
mov eax, dword [esi + 0x460]
jmp 0x4cabc1
lea eax, [esi + 0x464]
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp + 0x3d40]
call fcn.005c6510
cmp dword [ebp - 0x18], 0
jne 0x4cabf3
push str.text_plain
mov edx, dword [ebp + 0x3e0c]
push edx
call fcn.00614d5e
add esp, 8
test eax, eax
jne 0x4caa1d
mov eax, dword [ebp + 0x3dfc]
test eax, eax
je 0x4cac12
push eax
push 0x66ae98
lea edx, [esi + 0x46c]
push edx
call fcn.00402f80
add esp, 0xc
lea edi, [esi + 0x44c]
push 0
push edi
lea ecx, [ebp + 0x3d40]
call fcn.00587240
lea ecx, [ebp + 0x3d20]
call fcn.005b1f50
lea ecx, [ebp - 0x188]
call fcn.004a9880
mov byte [ebp - 4], bl
mov edi, dword [edi]
cmp dword [esi + 0x460], 0
je 0x4cac52
mov eax, dword [esi + 0x460]
jmp 0x4cac58
lea eax, [esi + 0x464]
push 0
push edi
push eax
lea ecx, [ebp - 0x188]
call fcn.004aa6b0
mov ebx, eax
cmp byte [esi + 0x2bb], 0
je 0x4cace6
lea edi, [esi + 0x454]
mov ecx, edi
call fcn.004c4cd0
mov ecx, edi
call fcn.004c4c70
mov edi, ebx
test edi, edi
je 0x4cace6
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edx
call fcn.005ac780
add esp, 8
test eax, eax
je 0x4cace1
mov eax, dword [ebp - 0x14]
test byte [eax + 0xc], 1
je 0x4cacd8
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cacd5
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [esi + 0x454]
call fcn.004c4d20
mov edi, dword [edi + 0x1c]
jmp 0x4cac88
mov eax, dword [ebp - 0x14]
push eax
call fcn.005e76a7
add esp, 4
mov edi, dword [edi + 0x1c]
jmp 0x4cac88
test ebx, ebx
je 0x4cacf6
push ebx
lea ecx, [ebp - 0x188]
call fcn.004a7470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.004a8890
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3d20]
call fcn.005ad5a0
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.005422e0
mov al, 1
jmp 0x4ca9d4