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

Disassembly:
push 0xffffffffffffffff
push 0x639e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x6f7b78]
push ebx
xor ebx, ebx
push ebp
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea ebp, [ecx + 8]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x28]
mov dword [esp + 0x68], ebx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x14], ebp
call fcn.005f9210
test eax, eax
je 0x423568
mov al, byte [esp + 0x80]
test al, al
je 0x42338d
mov al, byte [esp + 0x58]
test al, al
je 0x42338d
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 4
call fcn.00622d8a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 3
call fcn.00622d8a
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 2
call fcn.00622d8a
mov byte [esp + 0x68], 1
jmp 0x42359a
mov edx, dword [esp + 0x74]
cmp edx, ebx
je 0x4233c7
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4233be
mov eax, dword [esp + 0x28]
cmp dword [eax - 8], ebx
je 0x423568
push edx
push eax
call fcn.0060b39a
add esp, 8
test eax, eax
jmp 0x4233ce
mov edx, dword [esp + 0x28]
cmp dword [edx - 8], ebx
jmp 0x4233ce
mov eax, dword [esp + 0x28]
cmp dword [eax - 8], ebx
sete al
test al, al
je 0x423568
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x4233e5
lea eax, [esp + 0x30]
mov ecx, 0x6c910c
push esi
mov esi, dword [esp + 0x7c]
test ecx, ecx
je 0x4234ca
cmp eax, ebx
je 0x4234ca
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401f20
mov ecx, esi
mov byte [esp + 0x6c], 5
call fcn.00401070
lea ecx, [esp + 0x20]
call fcn.004027c0
push ebx
push 0x6c910c
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 6
call fcn.004027e0
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
call fcn.00401f10
push eax
call fcn.00609a4e
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x4234a8
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x14]
call fcn.00401f10
push eax
lea ecx, [esp + 0x24]
call fcn.00401f10
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.006099de
mov ecx, dword [esi]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 5
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.00401070
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esi]
cmp eax, ebx
jne 0x4234d3
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop esi
je 0x42355c
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x7c]
push edx
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xa
call fcn.00622d8a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 9
call fcn.00622d8a
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 8
call fcn.00622d8a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 7
call fcn.00401070
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.00622d8a
pop edi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, ebp
call fcn.004a47a0
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xe
call fcn.00622d8a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0xd
call fcn.00622d8a
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0xc
call fcn.00622d8a
mov byte [esp + 0x68], 0xb
lea ecx, [esp + 0x2c]
call fcn.00401070
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14