Function at 0x4226e0
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 0x42a4c7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x435008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 0
push 0x4309fa
lea ecx, [ebp - 0x48]
call fcn.00402950
mov byte [ebp - 4], 1
xor eax, eax
mov byte [ebp - 0x4e], al
xor ecx, ecx
mov byte [ebp - 0x49], cl
xor edx, edx
mov byte [ebp - 0x4a], dl
mov al, byte [ebp - 0x4e]
mov byte [ebp - 0x5c], al
mov cl, byte [ebp - 0x49]
mov byte [ebp - 0x60], cl
mov dl, byte [ebp - 0x4a]
mov byte [ebp - 0x64], dl
mov eax, 0xcf92fdd0
mov dword [ebp - 0xb0], 0xec0647f9
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], edx
mov eax, 0x6e2f53ff
mov dword [ebp - 0xb8], 0xef912c0c
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x80], ecx
mov edx, 0xcf92fdd0
mov dword [ebp - 0x30], 0xec06258b
mov dword [ebp - 0x2c], edx
mov eax, 0x6e2f53ff
mov dword [ebp - 0x28], 0xef912c0c
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov byte [ebp - 0x4b], cl
mov dl, byte [ebp - 0x4b]
mov byte [ebp - 0x68], dl
movaps xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x100], xmm0
mov eax, dword [ebp - 0x6c]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0xf0], xmm0
movaps xmm0, xmmword [ebp - 0xf0]
pxor xmm0, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0x110], xmm0
movaps xmm0, xmmword [ebp - 0x110]
mov ecx, dword [ebp - 0x6c]
movups xmmword [ecx], xmm0
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x90], eax
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x14], 0x10
jb 0x422862
mov dword [ebp - 0x78], 1
jmp 0x422869
mov dword [ebp - 0x78], 0
mov cl, byte [ebp - 0x78]
mov byte [ebp - 0x4c], cl
movzx edx, byte [ebp - 0x4c]
test edx, edx
je 0x42288b
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x90]
push eax
call fcn.004112f7
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4229c0
push 2
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0041174c
add esp, 0xc
mov edx, dword [ebp - 0x54]
push edx
call fcn.004111dd
add esp, 4
mov dword [ebp - 0x58], eax
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.0041174c
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x94]
ja 0x422911
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409b50
jmp 0x422925
push 0
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00409b90
lea edx, [ebp - 0x48]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x14], 0x10
jb 0x422949
mov dword [ebp - 0x84], 1
jmp 0x422953
mov dword [ebp - 0x84], 0
mov dl, byte [ebp - 0x84]
mov byte [ebp - 0x4d], dl
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x42297b
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push 1
mov edx, 1
imul eax, edx, 0
add eax, dword [ebp - 0xa8]
push eax
call fcn.004119c7
add esp, 0x10
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00411433
add esp, 4
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebx + 8]
call fcn.00407ae0
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.00402c60
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d2a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c