Function at 0x41b190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [0x486344]
mov cx, word [0x465c48]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push eax
push esi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x28], cx
call fcn.00435f77
mov eax, dword [0x486344]
add esp, 0xc
push eax
call fcn.004361ad
add esp, 4
test eax, eax
jne 0x41b4ae
mov ecx, dword [0x486344]
push ecx
call fcn.004361ad
add esp, 4
sub eax, 0x4d
jne 0x41b4ae
mov edx, dword [0x486344]
push edx
call fcn.004361ad
add esp, 4
sub eax, 0x52
jne 0x41b4ae
mov eax, dword [0x486344]
push eax
call fcn.004361ad
imul eax, eax, 0x101
add esp, 4
mov word [0x465c48], ax
call fcn.00401240
mov ecx, dword [0x486344]
lea esi, [eax + esi + 8]
push ecx
mov dword [esp + 0x28], esi
call fcn.00435c4a
add esp, 4
cmp eax, esi
mov dword [esp + 0x20], eax
jge 0x41b48b
mov bl, 0xff
xor esi, esi
lea edi, [esi + 4]
jmp 0x41b260
mov edx, dword [0x486344]
push edx
call fcn.004361ad
shl esi, 8
add esp, 4
or esi, eax
sub edi, 1
jne 0x41b260
call fcn.00401240
mov dword [esp + 0x34], eax
cmp esi, 0x505244
je 0x41b384
cmp esi, 0x545457
je 0x41b362
cmp esi, 0x574247
jne 0x41b450
call fcn.00401240
mov ecx, 0x45b290
mov eax, 0x466060
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41b2d5
test dl, dl
je 0x41b2d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41b2d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x41b2b5
xor eax, eax
jmp 0x41b2da
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov edi, eax
xor esi, esi
mov eax, dword [0x486344]
push eax
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
call fcn.00435763
movzx ax, byte [esp + 0x21]
mov edx, 0x4949
add esp, 0x10
cmp word [0x465c48], dx
jne 0x41b32d
movzx cx, byte [esp + 0x10]
shl ax, 8
or ax, cx
movzx eax, ax
jmp 0x41b33d
movzx dx, byte [esp + 0x10]
shl dx, 8
or dx, ax
movzx eax, dx
movzx ecx, ax
mov edx, esi
sar edx, 1
mov dword [esp + 0x30], ecx
xor edx, esi
xor edx, edi
fild dword [esp + 0x30]
inc esi
cmp esi, 4
fstp dword [edx*4 + 0x466110]
jl 0x41b2e8
jmp 0x41b450
mov eax, dword [0x486344]
push eax
call fcn.00435c4a
add esp, 4
call fcn.0041ab00
mov ecx, dword [esp + 0x24]
mov dword [0x465d28], ecx
jmp 0x41b450
mov edx, dword [0x486344]
push 1
push 8
push edx
call fcn.00435f77
mov eax, dword [0x486344]
add esp, 0xc
push eax
push 2
lea ecx, [esp + 0x1c]
push 1
push ecx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
call fcn.00435763
movzx ax, byte [esp + 0x25]
mov edx, 0x4949
add esp, 0x10
cmp word [0x465c48], dx
jne 0x41b3dc
movzx cx, byte [esp + 0x14]
shl ax, 8
or ax, cx
movzx eax, ax
jmp 0x41b3ec
movzx dx, byte [esp + 0x14]
shl dx, 8
or dx, ax
movzx eax, dx
mov edx, dword [0x486344]
push edx
movzx ecx, ax
push 2
lea eax, [esp + 0x20]
push 1
push eax
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
call fcn.00435763
movzx dx, byte [esp + 0x29]
mov ecx, 0x4949
add esp, 0x10
cmp word [0x465c48], cx
jne 0x41b439
movzx ax, byte [esp + 0x18]
shl dx, 8
or dx, ax
movzx eax, dx
jmp 0x41b449
movzx cx, byte [esp + 0x18]
shl cx, 8
or cx, dx
movzx eax, cx
movzx eax, ax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
lea eax, [edx + ecx + 8]
mov ecx, dword [0x486344]
push 0
push eax
push ecx
call fcn.00435f77
mov edx, dword [0x486344]
add esp, 0xc
push edx
call fcn.00435c4a
add esp, 4
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x41b250
mov ax, word [esp + 0x28]
mov cx, word [esp + 0x2c]
mov dx, word [esp + 0x1c]
mov word [0x465d20], ax
mov word [0x4ac484], cx
mov word [0x465c48], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret