Function at 0x41b770
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 0x48d2c17
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x48db008]
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 0x48d7dc8
lea ecx, [ebp - 0x48]
call fcn.00402840
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, 0x63761e20
mov dword [ebp - 0xb0], 0xabb33fa9
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, 0x362c103f
mov dword [ebp - 0xb8], 0xd50467cc
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, 0x63761e20
mov dword [ebp - 0x30], 0xabb35ddb
mov dword [ebp - 0x2c], edx
mov eax, 0x362c103f
mov dword [ebp - 0x28], 0xd50467cc
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 0x41b8f2
mov dword [ebp - 0x78], 1
jmp 0x41b8f9
mov dword [ebp - 0x78], 0
mov cl, byte [ebp - 0x78]
mov byte [ebp - 0x4c], cl
movzx edx, byte [ebp - 0x4c]
test edx, edx
je 0x41b91b
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.0040ac36
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x41ba50
push 2
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0040b08b
add esp, 0xc
mov edx, dword [ebp - 0x54]
push edx
call fcn.0040ab1c
add esp, 4
mov dword [ebp - 0x58], eax
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.0040b08b
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x94]
ja 0x41b9a1
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402f10
jmp 0x41b9b5
push 0
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00403120
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 0x41b9d9
mov dword [ebp - 0x84], 1
jmp 0x41b9e3
mov dword [ebp - 0x84], 0
mov dl, byte [ebp - 0x84]
mov byte [ebp - 0x4d], dl
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x41ba0b
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.0040b306
add esp, 0x10
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0040ad72
add esp, 4
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebx + 8]
call fcn.00402700
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.00402de0
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.004071d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c