Function at 0x403d20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455bcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xd0
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 1
push 0x462baf
mov ecx, dword [ebx + 8]
call fcn.0040d4b0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov byte [ebp - 0x11], cl
xor edx, edx
mov byte [ebp - 0x12], dl
xor eax, eax
mov byte [ebp - 0x13], al
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x24], cl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x28], dl
mov al, byte [ebp - 0x13]
mov byte [ebp - 0x2c], al
mov ecx, 0xbca1a464
mov dword [ebp - 0x78], 0x43bdaf0d
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], eax
mov ecx, 0xdcb30e51
mov dword [ebp - 0x80], 0x83fc2ca4
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x4c], edx
mov eax, 0xbca1a464
mov dword [ebp - 0xa0], 0x43bdcd7f
mov dword [ebp - 0x9c], eax
mov ecx, 0xdcb30e51
mov dword [ebp - 0x98], 0x83fc2ca4
mov dword [ebp - 0x94], ecx
xor edx, edx
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x14]
mov byte [ebp - 0x30], al
movaps xmm0, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0xd0], xmm0
mov ecx, dword [ebp - 0x34]
movups xmm0, xmmword [ecx]
movaps xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [ebp - 0xc0]
pxor xmm0, xmmword [ebp - 0xd0]
movaps xmmword [ebp - 0xe0], xmm0
movaps xmm0, xmmword [ebp - 0xe0]
mov edx, dword [ebp - 0x34]
movups xmmword [edx], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x50], ecx
lea edx, [ebx + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 0x10
jb 0x403e9e
mov dword [ebp - 0x44], 1
jmp 0x403ea5
mov dword [ebp - 0x44], 0
mov dl, byte [ebp - 0x44]
mov byte [ebp - 0x15], dl
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x403ec1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00433f6a
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x403fc0
push 2
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004379fc
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00433c64
add esp, 4
mov dword [ebp - 0x20], eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004379fc
add esp, 0xc
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x54]
ja 0x403f38
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebx + 8]
call fcn.0040f390
jmp 0x403f49
push 0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebx + 8]
call fcn.0040f520
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 0x10
jb 0x403f67
mov dword [ebp - 0x58], 1
jmp 0x403f6e
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x403f8a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, 1
imul edx, ecx, 0
add edx, dword [ebp - 0x70]
push edx
call fcn.0043deed
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043769a
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
call fcn.0040f260
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c