Function at 0x431440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b626
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x676300]
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 ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
test ecx, ecx
jne 0x43148f
or eax, 0xffffffff
jmp 0x43169b
push 0
push 0x80
push 3
push 0
push 3
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4314b9
mov eax, 0xfffffffe
jmp 0x43169b
push 0x32
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.00534b40
add esp, 0xc
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0xb4]
push ecx
push 0x32
lea edx, [ebp - 0xac]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xb4], 0x32
je 0x43150c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffd
jmp 0x43169b
lea ecx, [ebp - 0xad]
call fcn.0056714d
push 0x31
lea eax, [ebp - 0x43]
push 0
push eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x44], 0
call fcn.00534b40
mov eax, 0x1010101
push 0x32
lea ecx, [ebp - 0x77]
push 0
push ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x78], 0
call fcn.00534b40
add esp, 0x18
push 0x32
lea edx, [ebp - 0x78]
push edx
push 0x32
lea eax, [ebp - 0xac]
push eax
push 0x24
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xad]
call fcn.004edf14
mov ecx, 0x57a880
lea eax, [ebp - 0x78]
jmp 0x431590
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4315b0
test dl, dl
je 0x4315ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4315b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x431590
xor eax, eax
jmp 0x4315b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4315d9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xad]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
jmp 0x43169b
mov edi, dword [ebp - 0xb8]
inc edi
push edi
call fcn.00538174
push edi
mov esi, eax
push 0
push esi
call fcn.00534b40
add esp, 0x10
mov dword [ebp - 0xc0], esi
push 0
push 0
push 0x32
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x431639
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00535f7c
add esp, 4
lea ecx, [ebp - 0xad]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
mov eax, 0xfffffffd
jmp 0x43169b
mov edi, dword [ebp - 0xb8]
push 0
lea edx, [ebp - 0xb4]
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xb4], edi
jne 0x431617
mov eax, dword [ebp - 0xbc]
push edi
push eax
push edi
push esi
push 0x24
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xad]
call fcn.004edf14
push esi
call fcn.00535f7c
add esp, 4
lea ecx, [ebp - 0xad]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
mov eax, 1
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.00534bba
mov esp, ebp
pop ebp
ret