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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc094
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4dd704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.00464df6
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00405640
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b5520
lea ecx, [ebp - 0x1c]
call fcn.004058d0
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00401a80
lea ecx, [ebp - 0x1c]
call fcn.00402640
movzx eax, al
test eax, eax
jne 0x4b5511
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
call fcn.00405610
lea ecx, [ebp - 0x1c]
call fcn.00404330
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00405610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040a880
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x25e4]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.004055e0
push 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x25e4]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.004055e0
mov ecx, dword [ebp - 0x30]
call fcn.004b5070
push 0
push 0
push 0x40a
mov ecx, dword [ebp - 0x30]
call fcn.004055b0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
push 0x4b52f0
call fcn.00466a9e
push 0
push 0x4c9594
push 0x4c959c
mov ecx, 0x4e3ee4
call fcn.00404330
push eax
call fcn.004a9570
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b55d7
push 3
push 0
push 0
push 0
push 0
push 0x4e2788
mov ecx, dword [ebp - 0x30]
call fcn.00467c1e
push 1
push 0x4c95a4
push 0x4c95ac
mov ecx, 0x4e3ee4
call fcn.00404330
push eax
call fcn.004a96d0
add esp, 0x10
jmp 0x4b560d
push 3
push 0
push 0
push 0
push 0
push 0x4e27e0
mov ecx, dword [ebp - 0x30]
call fcn.00467c1e
push 0
push 0x4c95b4
push 0x4c95bc
mov ecx, 0x4e3ee4
call fcn.00404330
push eax
call fcn.004a96d0
add esp, 0x10
push 0
push 0x4c95c4
push 0x4c95d0
mov ecx, 0x4e3ee4
call fcn.00404330
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004a9650
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x25e0
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040a880
mov ecx, dword [ebp - 0x30]
add ecx, 0x25e0
call fcn.00404330
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b56e4
lea eax, [ebp - 0x24]
push eax
call fcn.004b2cc0
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x25e0
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a880
mov ecx, dword [ebp - 0x30]
add ecx, 0x25e0
call fcn.00404330
push eax
push 0x4c95d8
push 0x4c95e4
mov ecx, 0x4e3ee4
call fcn.00404330
push eax
call fcn.004a9590
add esp, 0x10
mov eax, dword [ebp - 0x30]
add eax, 0x25e0
push eax
push 0x4c95ec
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402590
add esp, 0xc
mov dword [ebp - 0x44], eax
push 0
push 3
mov ecx, dword [ebp - 0x44]
call fcn.00404330
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x78
call fcn.00405580
lea ecx, [ebp - 0x28]
call fcn.0040a880
lea ecx, [ebp - 0x14]
call fcn.004058d0
mov dword [ebp - 4], 3
push str.10.11.12
push 0x4c960c
push str._s_v_s
lea edx, [ebp - 0x14]
push edx
call fcn.00405550
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00404330
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00467979
call fcn.00462320
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
push 0x4b41c0
call fcn.00466a9e
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a880
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret