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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1304
call fcn.0052d050
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
call fcn.0045b585
xor esi, esi
cmp eax, esi
mov dword [ebp + 0x14], eax
jne 0x45b864
xor al, al
jmp 0x45bb6c
push 0x54
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005251f0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x70], 0x600
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x44], 1
call fcn.00423e39
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2b8]
call fcn.00401963
cmp word [ebp - 0x2b8], si
je 0x45b8e3
cmp word [ebp - 0x2b6], 0x3a
jne 0x45b8e3
cmp word [ebp - 0x2b4], si
jne 0x45b8e3
lea eax, [ebp - 0x2b8]
push eax
push 0x5676c0
mov esi, 0x104
mov edi, eax
call fcn.0044b138
pop ecx
pop ecx
lea eax, [ebp - 0x2b8]
push eax
mov esi, 0x104
lea edi, [ebp - 0x3c0]
call fcn.0040141f
mov eax, edi
lea esi, [ebp - 0xc]
mov dword [ebp - 0x20], eax
call fcn.004e6c81
push dword [ebp + 0xc]
lea esi, [ebp - 0x18]
call fcn.0041d1ad
mov eax, esi
call fcn.0045b5d7
mov eax, esi
push eax
lea eax, [ebp - 0xef0]
push eax
call fcn.00444d2c
push dword [ebp - 0xef0]
lea eax, [ebp - 0xc]
push eax
call fcn.004e6cc5
push 0x3e
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.005251f0
mov esi, dword [ebp + 0x14]
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0xb0], 0x45b4ea
mov dword [ebp - 0xac], 0x4424ae
mov dword [ebp - 0xa8], 0x456e8b
call fcn.0045b54d
cmp eax, 0xb
mov dword [ebx], eax
mov edi, 0x53ec98
je 0x45b98f
cmp eax, 2
jne 0x45ba08
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x45b998
mov eax, edi
push eax
lea esi, [ebp - 0x1300]
call fcn.00423ca8
xor eax, eax
push eax
push eax
push 0x104
lea ecx, [ebp - 0x8d8]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2b8]
push ecx
push eax
push 0x1b5
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x8d8]
lea esi, [ebp - 0xc]
mov byte [ebp - 0x7d5], 0
mov dword [ebp - 0x20], eax
call fcn.004e6d03
lea eax, [ebp - 0x1300]
push eax
mov eax, esi
push eax
call fcn.004e6cc5
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc]
call fcn.0045b54d
mov dword [ebx], eax
mov eax, dword [ebx]
cmp eax, 0xb
je 0x45ba14
cmp eax, 2
jne 0x45ba86
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x45ba1d
mov eax, edi
push eax
mov esi, 0x104
lea edi, [ebp - 0x1300]
call fcn.00423c8b
xor eax, eax
push eax
push eax
push esi
lea ecx, [ebp - 0x8d8]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2b8]
push ecx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x8d8]
lea esi, [ebp - 0xc]
mov byte [ebp - 0x7d5], 0
mov dword [ebp - 0x20], eax
call fcn.004e6d03
mov eax, edi
push eax
mov eax, esi
push eax
call fcn.004e6cc5
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc]
call fcn.0045b54d
mov dword [ebx], eax
mov ebx, dword [ebx]
cmp ebx, 0x50
mov byte [ebp + 0x17], 0
jne 0x45ba9e
push dword [ebp + 0x10]
call fcn.00401bf4
jmp 0x45bb4c
cmp ebx, 0x51
je 0x45bb4c
cmp ebx, 0x52
je 0x45bb4c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45bacb
lea eax, [ecx - 1]
test eax, eax
jl 0x45bacb
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2], 0x2f
je 0x45bace
dec eax
jns 0x45babe
or eax, 0xffffffff
push dword [ebp + 0x10]
dec ecx
cmp eax, ecx
jne 0x45bae0
call fcn.00401d29
mov byte [ebp + 0x17], al
jmp 0x45bb4c
call fcn.00401d29
test al, al
mov byte [ebp + 0x17], al
jne 0x45bb4c
push dword [ebp + 0x10]
mov esi, 0x410
lea edi, [ebp - 0xce8]
call fcn.0040141f
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, edi
push eax
call ebx
cmp eax, 0xffffffff
setne byte [ebp + 0x17]
cmp byte [ebp + 0x17], 0
jne 0x45bb4c
push dword [ebp + 0x10]
mov esi, edi
call fcn.00423ca8
mov eax, edi
push eax
call ebx
cmp eax, 0xffffffff
setne byte [ebp + 0x17]
cmp byte [ebp + 0x17], 0
jne 0x45bb4c
push dword [ebp + 0x10]
mov esi, 0x104
call fcn.00423c8b
mov eax, edi
push eax
call ebx
cmp eax, 0xffffffff
setne byte [ebp + 0x17]
push dword [ebp - 0xcec]
call fcn.00520947
pop ecx
push dword [ebp - 0x18]
call fcn.00520947
pop ecx
lea esi, [ebp - 0xc]
call fcn.004e6ca2
mov al, byte [ebp + 0x17]
pop edi
pop esi
pop ebx
leave
ret 0x10