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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eda6
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4643c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
test esi, esi
jne 0x431eb7
cmp dword [ebp + 0x1c], 8
jb 0x431ead
mov eax, dword [ebp + 8]
push eax
call fcn.0043644d
add esp, 4
mov eax, 0x57
jmp 0x432117
lea ebx, [ebp + 8]
call fcn.00431b80
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x431eca
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x431fcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x24], 0
mov dword [ebp - 0x130], eax
je 0x4320ff
mov edx, eax
lea ecx, [ebp - 0x68]
mov esi, SysReAllocStringLen
call fcn.00419240
mov edi, eax
lea ecx, [ebp - 0x4c]
push str.GetFileAttributes_of_
push ecx
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00407830
push eax
mov eax, str._failed_with:
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 3
mov eax, edi
mov ebx, esp
mov dword [ebp - 0x134], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, str.GetFileAttributesAPIWrapper
mov ecx, esp
mov dword [ebp - 0x138], esp
call fcn.00413560
push 4
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00419f60
mov esi, 8
add esp, 0x3c
cmp dword [ebp - 0x1c], esi
jb 0x431f81
mov edx, dword [ebp - 0x30]
push edx
call fcn.0043644d
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x38], esi
jb 0x431fa5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x54], esi
jb 0x4320ff
mov eax, dword [ebp - 0x68]
push eax
call fcn.0043644d
add esp, 4
jmp 0x4320ff
cmp byte [ebp + 0x28], 0
je 0x4320f5
push 0x45b3c4
lea ebx, [ebp - 0x12c]
call fcn.00407f10
push esi
mov byte [ebp - 4], 5
call fcn.00433120
add esp, 4
mov ecx, eax
lea esi, [ebp - 0x68]
call fcn.00408030
mov ecx, ebx
push ecx
mov byte [ebp - 4], 7
call fcn.00407140
lea edx, [ebp - 0x84]
push str.Retrieved_attributes__
push edx
lea ebx, [ebp - 0x68]
mov esi, SysReAllocStringLen
call fcn.00407830
push eax
mov eax, str.__of__
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.00407910
add esp, 0xc
mov ecx, eax
lea eax, [ebp + 8]
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.004082e0
sub esp, 0x1c
mov bl, 0xa
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x138], esp
push eax
mov eax, 0x4583fc
call fcn.00407910
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, str.GetFileAttributesAPIWrapper
mov ecx, esp
mov dword [ebp - 0x134], esp
call fcn.00413560
push 2
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00419f60
mov esi, 8
add esp, 0x3c
cmp dword [ebp - 0x38], esi
jb 0x4320a0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0043644d
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], esi
jb 0x4320c4
mov edx, dword [ebp - 0x30]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x70], esi
jb 0x4320e4
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0043644d
add esp, 4
cmp dword [ebp - 0x54], esi
jb 0x4320f5
mov edx, dword [ebp - 0x68]
push edx
call fcn.0043644d
add esp, 4
mov dword [ebp - 0x130], 0
cmp dword [ebp + 0x1c], 8
jb 0x432111
mov eax, dword [ebp + 8]
push eax
call fcn.0043644d
add esp, 4
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00436268
mov esp, ebp
pop ebp
ret