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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a0ec
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4be434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xbc], eax
mov al, byte [ebp + 0x14]
mov byte [ebp - 0xcc], al
lea eax, [ebp - 0xa0]
mov ebx, dword [ebp - 0xcc]
push ebx
push 0
push 3
push eax
call fcn.004816a0
push 0x4a68d4
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.0047bb50
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0047bad0
add esp, 0x28
lea ecx, [ebp - 0x58]
call fcn.00401ca0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401ca0
lea ecx, [ebp - 0x28]
call fcn.0047b670
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push edi
call fcn.00481330
add esp, 0xc
test al, al
je 0x4834da
push 0x4a68d4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0047bb50
push dword [ebp - 0xbc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047bad0
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00401ca0
lea ecx, [ebp - 0x58]
call fcn.0047f320
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x58]
cmp eax, 0xffffffff
je 0x4834d1
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401ca0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4834b0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4834a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4834a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401ca0
jmp 0x4835ee
mov byte [ebp - 4], 5
call fcn.00401ca0
lea ecx, [ebp - 0x88]
call fcn.0047b670
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0047b670
push ebx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x88]
push eax
push edi
call fcn.00483780
add esp, 0x10
test al, al
jne 0x48360c
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x70]
call fcn.00401ca0
lea ecx, [ebp - 0x88]
call fcn.00401ca0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4835a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48359a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48376b
push edx
push ecx
call fcn.004876f4
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x4835ee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4835e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48376b
push edx
push ecx
call fcn.004876f4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487702
mov esp, ebp
pop ebp
ret
push 0x4a5438
lea ecx, [ebp - 0x58]
call fcn.0047b320
push 1
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0047ec50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.00401ca0
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0xc4]
jne 0x483669
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00404d20
lea ecx, [ebp - 0xc8]
call fcn.00401bb0
jmp 0x483557
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.00482d20
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00407d00
lea ecx, [ebp - 0xb8]
call fcn.00401ca0
lea ecx, [ebp - 0x28]
call fcn.0047ded0
mov ecx, esi
test al, al
je 0x4836c2
lea eax, [ebp - 0x40]
push eax
call fcn.00404d20
lea ecx, [ebp - 0xc8]
call fcn.00401bb0
jmp 0x483557
lea eax, [ebp - 0x28]
push eax
call fcn.00404d20
lea ecx, [ebp - 0xc8]
call fcn.00401bb0
lea ecx, [ebp - 0x70]
call fcn.00401ca0
lea ecx, [ebp - 0x88]
call fcn.00401ca0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48371f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x483715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48376b
push edx
push ecx
call fcn.004876f4
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4835ee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4835e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4835e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3