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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
lea eax, [esp + 0xe]
push edi
lea edx, [esp + 0x13]
xor esi, esi
push eax
lea ecx, [ebx + 0x10]
push edx
mov dword [esp + 0x1c], ebx
mov dword [ebx], 0x5fd3b0
mov byte [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call fcn.0046e740
mov ebp, dword [esp + 0x38]
mov dword [ebx], 0x5fd3d0
cmp ebp, esi
je 0x453561
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x453561
mov edi, dword [str.file::]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call fcn.005f0c55
mov edx, eax
or ecx, 0xffffffff
mov dword [ebx + 8], edx
mov edi, dword [str.file::]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebx + 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f0c55
mov edx, eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [ebx + 0xc], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4533d9
test al, 0x10
je 0x4533d9
mov eax, 1
jmp 0x4533db
xor eax, eax
test al, al
mov byte [ebx + 4], al
je 0x453561
mov esi, dword [ebx + 0xc]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.00405d90
mov eax, dword [esp + 0x38]
mov edi, esi
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004067a0
push 0
lea ecx, [esp + 0x20]
push 1
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004529a0
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.00406010
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, edi
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x453517
xor ebp, ebp
mov dword [esp + 0x38], edx
jmp 0x453462
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp]
mov edx, dword [ecx + ebp + 4]
mov edi, eax
sub edx, edi
push edx
push eax
call fcn.0043e7f0
mov ebx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebp + 4]
mov edi, dword [eax + ebp]
sub ecx, edi
inc ecx
push ecx
call fcn.005f0c55
mov edx, eax
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
add esp, 0xc
mov edi, dword [eax + ebp]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x20], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4534e1
mov edx, dword [eax + 0x10]
mov ecx, eax
cmp ebx, edx
jae 0x4534da
mov eax, dword [eax + 8]
jmp 0x4534dd
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4534cc
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
add ecx, 0x10
push eax
call fcn.00486100
mov eax, dword [esp + 0x38]
add ebp, 0xc
dec eax
mov dword [esp + 0x38], eax
jne 0x45345e
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
cmp ecx, edi
mov esi, ecx
je 0x453537
mov ecx, esi
call fcn.00406010
lea ecx, [esi + 8]
call fcn.004700d0
add esi, 0xc
cmp esi, edi
jne 0x45351d
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x453561
mov edx, dword [esp + 0x30]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [edx + edx*2]
shl edx, 2
push edx
push ecx
call fcn.00406670
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x24
ret 4