Function at 0x431fc0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472dad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x54], 0
cmp byte [ecx + 7], 0
lea eax, [ecx + 0x28]
mov dword [ebp - 0x58], eax
lea edx, [ecx + 0x40]
cmove eax, dword [ebp - 0x54]
push eax
push edx
push 1
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x4c], ecx
push eax
push dword [ecx + 0x24]
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x50]
movzx eax, byte [ebp - 0x2d]
mov dword [ebp - 0x54], eax
cmp dword [ecx], 1
jne 0x4322bb
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
test eax, eax
jne 0x432078
mov dword [ebp - 0x38], eax
mov byte [ebp + eax - 0x48], al
jmp 0x4320ab
cmp eax, 0xf
ja 0x432099
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00452b60
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp + edx - 0x48], 0
jmp 0x4320ab
push ecx
push eax
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x2c]
push eax
call fcn.0043dee0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x58]
cmovae ecx, dword [ebp - 0x48]
cmp byte [edx + 7], 0
mov dword [ebp - 0x2c], 0
cmove eax, dword [ebp - 0x2c]
push eax
lea eax, [edx + 0x40]
mov edx, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x4c]
push edx
push ecx
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
cmp edx, dword [eax]
jne 0x432289
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432100
sub ecx, dword [ebp - 0x2c]
cmp ecx, edx
jne 0x432289
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 0x58]
cmp byte [ecx + 7], dl
cmove eax, edx
push eax
lea eax, [ecx + 0x40]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov dword [edi + 0x18], eax
cmp ecx, 4
jne 0x432289
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], 0
cmp byte [ecx + 7], 0
cmove eax, dword [ebp - 0x2c]
push eax
push edx
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov dword [edi + 0x1c], eax
cmp ecx, 4
jne 0x432289
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
cmp byte [eax + 7], 0
lea ecx, [eax + 0x28]
cmove ecx, dword [ebp - 0x2c]
push ecx
push edx
push 0x14
lea ecx, [ebp - 0x28]
push ecx
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x14
jne 0x432289
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0041d430
mov dword [ebp - 0x2c], eax
cmp edi, eax
je 0x43222e
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4321fc
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4321ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4322f4
mov eax, edx
push ecx
push eax
call fcn.00451449
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x432262
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432258
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4322f4
push edx
push ecx
call fcn.00451449
add esp, 8
movups xmm0, xmmword [ebp - 0x48]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
jmp 0x4322d2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4322bb
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4322b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4322f9
push edx
push ecx
call fcn.00451449
add esp, 8
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00460976
call fcn.00460976
int3