Function at 0x41fdf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0x43d5e4
call fcn.004022d0
add esp, 4
xor eax, eax
mov word [ebp - 0x14], ax
mov ecx, 1
mov word [ebp - 8], cx
jmp 0x41fe21
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
movsx eax, word [ebp - 8]
movsx ecx, word [0x47f314]
cmp eax, ecx
jg 0x41fe4a
movsx edx, word [ebp - 8]
imul eax, edx, 0x68
movsx ecx, word [eax + 0x467f7c]
movsx edx, word [ebp - 0x14]
add edx, ecx
mov word [ebp - 0x14], dx
jmp 0x41fe15
movsx eax, word [0x47f316]
movsx ecx, word [ebp - 0x14]
add ecx, eax
mov word [ebp - 0x14], cx
mov dword [0x47a3b8], 0x1069
mov edx, 1
mov word [ebp - 0x18], dx
jmp 0x41fe7c
mov ax, word [ebp - 0x18]
add ax, 1
mov word [ebp - 0x18], ax
movsx ecx, word [ebp - 0x18]
movsx edx, word [0x4ccfc4]
cmp ecx, edx
jg 0x4204de
xor eax, eax
mov word [0x47a15c], ax
movsx ecx, word [ebp - 0x14]
movsx edx, word [0x47a15c]
sub ecx, edx
mov word [0x47a3bc], cx
movsx eax, word [0x47a3bc]
movsx ecx, word [0x47f648]
sub ecx, 1
cmp eax, ecx
jle 0x41fed1
movsx edx, word [0x47f648]
sub edx, 1
mov word [0x47a3bc], dx
mov ax, word [0x47a15c]
mov word [0x467f74], ax
xor ecx, ecx
mov word [ebp - 0xc], cx
mov edx, 1
mov word [ebp - 0x10], dx
jmp 0x41fefa
mov ax, word [ebp - 0x10]
add ax, 1
mov word [ebp - 0x10], ax
movsx ecx, word [ebp - 0x10]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x4200ae
movsx eax, word [ebp - 0x10]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x4200a9
movsx edx, word [ebp - 0x10]
movsx eax, byte [edx + 0x47a4f0]
cmp eax, 0x47
jne 0x4200a9
movsx ecx, word [ebp - 0x10]
movsx edx, byte [ecx + 0x47a61a]
cmp edx, 0x41
jne 0x4200a9
movsx eax, word [ebp - 0x10]
movsx ecx, word [eax*2 + 0x47a998]
movsx edx, word [ebp - 0x18]
movsx eax, word [edx*2 + 0x47f650]
cmp ecx, eax
jne 0x4200a9
mov cx, word [ebp - 0xc]
add cx, 1
mov word [ebp - 0xc], cx
push 0x4ccaf0
movsx edx, word [ebp - 0x10]
movsx eax, word [edx*2 + 0x47a2f0]
push eax
push 0x43d5f4
push 0x4ccce0
push 0x43d5f8
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x4cc900
call fcn.00402370
add esp, 4
push 0x43d604
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x42004c
push 0
movsx ecx, word [0x47a15c]
shl ecx, 3
push ecx
mov edx, dword [0x46ac90]
push edx
call fcn.0042bbe9
add esp, 0xc
mov eax, 1
mov word [ebp - 4], ax
jmp 0x420007
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [0x47a3bc]
cmp edx, eax
jg 0x42003e
mov ecx, dword [0x46ac90]
push ecx
push 1
push 8
movsx edx, word [ebp - 0xc]
movsx eax, word [ebp - 4]
mov ecx, dword [edx*4 + 0x449fa8]
lea edx, [ecx + eax*8]
push edx
call fcn.0042b7c5
add esp, 0x10
jmp 0x41fffb
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x420063
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movsx eax, word [ebp - 4]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x4200a9
movsx edx, word [ebp - 0xc]
movsx eax, word [ebp - 4]
mov ecx, dword [edx*4 + 0x449fa8]
movsx edx, word [ebp - 0x10]
cvtss2sd xmm0, dword [edx*4 + 0x47aed4]
mulsd xmm0, qword [ecx + eax*8]
movsx eax, word [ebp - 0xc]
movsx ecx, word [ebp - 4]
mov edx, dword [eax*4 + 0x449fa8]
movsd qword [edx + ecx*8], xmm0
jmp 0x420057
jmp 0x41feee
movsx eax, word [ebp - 0xc]
test eax, eax
jne 0x4200bb
jmp 0x41fe70
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x4200d2
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movsx eax, word [ebp - 4]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x42013c
mov edx, 4
shl edx, 0
movsx eax, word [ebp - 4]
mov ecx, dword [edx + 0x449fa8]
movsx edx, word [0x467f74]
movsx esi, word [ebp - 4]
add edx, esi
movsd xmm0, qword [ecx + eax*8]
movsd qword [edx*8 + 0x490978], xmm0
movsx eax, word [ebp - 4]
movsx ecx, word [0x467f74]
add ecx, eax
movsx edx, word [0x467f74]
movsx eax, word [ebp - 4]
add edx, eax
movsd xmm0, qword [ecx*8 + 0x490978]
movsd qword [edx*8 + 0x498cc0], xmm0
jmp 0x4200c6
mov ecx, 2
mov word [ebp - 0x1c], cx
jmp 0x420153
mov dx, word [ebp - 0x1c]
add dx, 1
mov word [ebp - 0x1c], dx
movsx eax, word [ebp - 0x1c]
movsx ecx, word [ebp - 0xc]
cmp eax, ecx
jg 0x42022f
mov edx, 1
mov word [ebp - 4], dx
jmp 0x42017a
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [0x47a3bc]
cmp ecx, edx
jg 0x42022a
movsx eax, word [ebp - 0x1c]
movsx ecx, word [ebp - 4]
mov edx, dword [eax*4 + 0x449fa8]
movsd xmm0, qword [edx + ecx*8]
movsd qword [0x449c48], xmm0
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 4]
add eax, ecx
movsd xmm0, qword [0x449c48]
comisd xmm0, xmmword [eax*8 + 0x498cc0]
jbe 0x4201e7
movsx edx, word [0x467f74]
movsx eax, word [ebp - 4]
add edx, eax
movsd xmm0, qword [0x449c48]
movsd qword [edx*8 + 0x498cc0], xmm0
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 4]
add ecx, edx
movsd xmm0, qword [ecx*8 + 0x490978]
comisd xmm0, xmmword [0x449c48]
jbe 0x420225
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 4]
add eax, ecx
movsd xmm0, qword [0x449c48]
movsd qword [eax*8 + 0x490978], xmm0
jmp 0x42016e
jmp 0x420147
movsx edx, word [0x47a3bc]
movsx eax, word [0x47a15c]
add eax, edx
mov word [0x47a15c], ax
movsx ecx, word [ebp - 0x14]
movsx edx, word [0x47a15c]
cmp ecx, edx
jle 0x42025e
jmp 0x41fe97
push 0x4ccaf0
movsx eax, word [0x4482f0]
movsx ecx, word [ebp - 0x18]
lea edx, [eax + ecx*2 - 1]
push edx
push 0x43d608
push 0x4ccce0
push 0x43d60c
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43d618
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x42039b
xor eax, eax
mov word [ebp - 0xc], ax
mov ecx, 1
mov word [ebp - 8], cx
jmp 0x4202d0
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
movsx eax, word [ebp - 8]
movsx ecx, word [0x47f314]
cmp eax, ecx
jg 0x42033b
mov edx, 1
mov word [ebp - 4], dx
jmp 0x4202f6
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
movsx edx, word [ebp - 8]
imul eax, edx, 0x68
movsx edx, word [eax + 0x467f7c]
cmp ecx, edx
jg 0x420339
mov ax, word [ebp - 0xc]
add ax, 1
mov word [ebp - 0xc], ax
mov ecx, dword [0x46ac90]
push ecx
push 1
push 8
movsx edx, word [ebp - 0xc]
lea eax, [edx*8 + 0x490978]
push eax
call fcn.0042bee8
add esp, 0x10
jmp 0x4202ea
jmp 0x4202c4
mov ecx, 1
mov word [ebp - 8], cx
jmp 0x420352
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
movsx eax, word [ebp - 8]
movsx ecx, word [0x47f316]
cmp eax, ecx
jg 0x42038d
mov dx, word [ebp - 0xc]
add dx, 1
mov word [ebp - 0xc], dx
mov eax, dword [0x46ac90]
push eax
push 1
push 8
movsx ecx, word [ebp - 0xc]
lea edx, [ecx*8 + 0x490978]
push edx
call fcn.0042bee8
add esp, 0x10
jmp 0x420346
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
push 0x4ccaf0
movsx ecx, word [0x4482f0]
movsx edx, word [ebp - 0x18]
lea eax, [ecx + edx*2]
push eax
push 0x43d61c
push 0x4ccce0
push 0x43d620
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43d62c
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x4204d9
xor ecx, ecx
mov word [ebp - 0xc], cx
mov edx, 1
mov word [ebp - 8], dx
jmp 0x42040c
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
movsx edx, word [0x47f314]
cmp ecx, edx
jg 0x420477
mov eax, 1
mov word [ebp - 4], ax
jmp 0x420432
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movsx edx, word [ebp - 4]
movsx eax, word [ebp - 8]
imul ecx, eax, 0x68
movsx eax, word [ecx + 0x467f7c]
cmp edx, eax
jg 0x420475
mov cx, word [ebp - 0xc]
add cx, 1
mov word [ebp - 0xc], cx
mov edx, dword [0x46ac90]
push edx
push 1
push 8
movsx eax, word [ebp - 0xc]
lea ecx, [eax*8 + 0x498cc0]
push ecx
call fcn.0042bee8
add esp, 0x10
jmp 0x420426
jmp 0x420400
mov edx, 1
mov word [ebp - 8], dx
jmp 0x42048e
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
movsx edx, word [0x47f316]
cmp ecx, edx
jg 0x4204ca
mov ax, word [ebp - 0xc]
add ax, 1
mov word [ebp - 0xc], ax
mov ecx, dword [0x46ac90]
push ecx
push 1
push 8
movsx edx, word [ebp - 0xc]
lea eax, [edx*8 + 0x498cc0]
push eax
call fcn.0042bee8
add esp, 0x10
jmp 0x420482
mov ecx, dword [0x46ac90]
push ecx
call fcn.0042b45f
add esp, 4
jmp 0x41fe70
pop esi
mov esp, ebp
pop ebp
ret