Function at 0x10071509
Capabilities:
Read file on windows

Disassembly:
push 0xc4
mov eax, 0x10104c7f
call fcn.10104757
mov esi, edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x94], ecx
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], ebx
stosd dword es:[edi], eax
push ecx
push 0x25a0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1007241b
xor edi, edi
mov dword [ebp - 4], ebx
inc edi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0xbc], edi
jbe 0x1007155d
mov esi, dword [esi]
push ebx
push 0x80
push 3
pop eax
push eax
push ebx
push edi
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xb8], eax
cmp eax, 0xffffffff
jne 0x1007173e
push ebx
push ebx
push ebx
mov esi, 0x400
push esi
call fcn.100aba30
push ebx
push ebx
push edi
push esi
mov dword [ebp - 0x90], eax
call fcn.100aba30
mov edi, 0x1000
mov dword [ebp - 0xac], eax
push edi
call fcn.100c495b
add esp, 0x24
mov dword [ebp - 0xa4], eax
push 0x1008
call fcn.100c495b
pop ecx
push edi
mov esi, eax
call fcn.100c495b
fld qword [0x10160430]
xor edi, edi
fld qword [0x10160490]
mov ebx, dword [ebp - 0xa4]
pop ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x9c], edi
fild dword [ebp - 0x9c]
fst qword [ebp - 0xa0]
fmulp st(2)
fxch st(1)
fst qword [ebp - 0x98]
fmulp st(1)
call fcn.100db190
fmul qword [0x10160458]
fstp qword [ebp - 0xa8]
fld qword [ebp - 0x98]
fmul qword [0x10160488]
call fcn.100db190
fadd qword [ebp - 0xa8]
fstp dword [ebp - 0xa4]
fld dword [ebp - 0xa4]
fstp qword [ebp - 0x98]
fld qword [ebp - 0xa0]
fmul qword [0x10160470]
fdiv qword [0x10160498]
call fcn.100db0a0
fmul qword [0x10160450]
fsubr qword [0x10160460]
fmul qword [ebp - 0x98]
fstp dword [ebx + edi*4]
fld qword [0x10160430]
inc edi
fld qword [0x10160490]
mov dword [ebp - 0x9c], edi
cmp edi, 0x400
jl 0x100715ef
push esi
push ebx
push dword [ebp - 0x90]
fstp st(1)
fstp st(0)
call fcn.100ab8e0
fld qword [0x101604b0]
add esp, 0xc
fld qword [0x10160478]
xor ecx, ecx
fld qword [0x10160480]
fld qword [0x10160430]
mov ebx, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], ecx
fild dword [ebp - 0x9c]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
fmul st(4)
fmul st(1)
fxch st(3)
fcomi st(3)
ja 0x100716ea
fxch st(3)
fcompi st(2)
jbe 0x100716f5
jmp 0x100716ec
fstp st(3)
and dword [esi + ecx*8], 0
and dword [esi + ecx*8 + 4], 0
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, 0x201
jl 0x100716c6
fstp st(0)
push ebx
fstp st(0)
push esi
push dword [ebp - 0xac]
fstp st(1)
fstp st(0)
call fcn.100abbd0
fld qword [0x10160430]
add esp, 0xc
xor eax, eax
fld dword [ebx + eax*4]
fmul st(1)
fstp dword [ebx + eax*4]
inc eax
cmp eax, 0x400
jl 0x10071724
mov eax, dword [ebp - 0xb8]
fstp st(0)
xor ebx, ebx
push ebx
push ebx
push 0x193c2
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 1
lea edi, [ebp - 0x1c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov esi, ebx
fld qword [0x10160468]
fld qword [0x10160448]
mov dword [ebp - 0xa4], esi
fild dword [ebp - 0xa4]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fmulp st(2)
fmulp st(1)
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fst qword [ebp - 0x98]
call fcn.100db190
fstp dword [ebp - 0xac]
fld qword [ebp - 0x98]
call fcn.100db0a0
fstp dword [ebp - 0x90]
fld dword [ebp - 0x90]
mov edi, ebx
fstp dword [ebp - 0x94]
fld dword [ebp - 0xac]
fstp qword [ebp - 0xd0]
mov dword [ebp - 0xa4], edi
fild dword [ebp - 0xa4]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fadd st(0), st(0)
fmul qword [0x10160468]
fmul qword [0x10160440]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fst qword [ebp - 0xb0]
call fcn.100db190
fstp dword [ebp - 0xb4]
fld qword [ebp - 0xb0]
call fcn.100db0a0
mov eax, dword [ebp - 0x24]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fld qword [ebp - 0xd0]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x9c]
fmul dword [ebp - 0xb4]
fstp dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x20]
je 0x10071880
movss xmm0, dword [ebp - 0x9c]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x10071893
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100729e7
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x100718af
movss xmm0, dword [ebp - 0x90]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x100718c2
lea ecx, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100729e7
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x100718d9
movss xmm0, dword [ebp - 0xa4]
movss dword [eax], xmm0
add dword [ebp - 0x24], 4
jmp 0x100718e9
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100729e7
inc edi
mov dword [ebp - 0xa4], edi
cmp edi, 0x40
jle 0x100717f1
fld qword [0x10160468]
inc esi
fld qword [0x10160448]
mov dword [ebp - 0xa4], esi
cmp esi, 0x20
jle 0x1007178d
mov ebx, dword [ebp - 0x18]
fstp st(1)
push 0x41
pop eax
fstp st(0)
mov dword [ebp - 0x90], eax
mov esi, eax
mov dword [ebp - 0x9c], 0x40
lea eax, [esi - 0x41]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x94], eax
cmp ebx, dword [ebp - 0x14]
je 0x10071952
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10071965
lea eax, [ebp - 0x94]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x10071977
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x1007198a
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov eax, dword [ebp - 0x18]
lea edi, [esi - 0x40]
mov dword [ebp - 0x94], edi
cmp eax, dword [ebp - 0x14]
je 0x100719a5
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x100719b8
lea ecx, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x100719ca
mov dword [eax], esi
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
jmp 0x100719dd
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 1]
mov esi, eax
mov dword [ebp - 0x94], eax
cmp ecx, dword [ebp - 0x14]
je 0x100719fa
mov dword [ecx], esi
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10071a0d
lea eax, [ebp - 0x94]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x94], edi
cmp eax, dword [ebp - 0x14]
je 0x10071a25
mov dword [eax], edi
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x18], ebx
jmp 0x10071a38
lea ecx, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1007290e
mov ebx, dword [ebp - 0x18]
sub dword [ebp - 0x9c], 1
jne 0x10071931
mov eax, dword [ebp - 0x90]
add eax, 0x41
mov dword [ebp - 0x90], eax
cmp eax, 0x861
jl 0x10071925
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x58]
sub eax, dword [ebp - 0x28]
xor edx, edx
push 3
sar eax, 2
pop ecx
div ecx
sub ebx, dword [ebp - 0x1c]
mov esi, eax
sar ebx, 2
xor eax, eax
mov dword [ebp - 0x90], ebx
stosd dword es:[edi], eax
push ecx
push ebx
lea ecx, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100723b3
push 3
pop eax
push 0xc
push esi
mov byte [ebp - 4], al
push dword [ebp - 0x28]
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
call fcn.100b3ec0
mov ebx, eax
lea edi, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x9c], ebx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x34]
add esp, 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x90]
push edi
call fcn.100723b3
mov byte [ebp - 4], 4
push dword [ebp - 0x58]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call fcn.100b4050
xor eax, eax
imul ebx, ebx, 3
lea edi, [ebp - 0x4c]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x4c]
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100723b3
mov byte [ebp - 4], 5
push dword [ebp - 0x58]
push 0xc
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x4c]
call fcn.100b40a0
mov esi, dword [ebp - 0x9c]
add esp, 0x14
mov edi, dword [ebp - 0x90]
push esi
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x34]
call fcn.100b7610
fld dword [0x10160438]
add esp, 0xc
fstp dword [esp]
push 0xc
push esi
push dword [ebp - 0x4c]
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x34]
call fcn.100b6a50
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x7c]
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x90]
push edi
call fcn.100723b3
push 0
push esi
mov byte [ebp - 4], 6
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x7c]
call fcn.100b4330
add esp, 0x14
push esi
push edi
call fcn.100b4db0
mov esi, eax
lea edi, [ebp - 0x70]
xor eax, eax
lea ecx, [ebp - 0x70]
stosd dword es:[edi], eax
add esp, 4
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
call fcn.1007241b
push dword [ebp - 0x90]
mov byte [ebp - 4], 7
push dword [ebp - 0x34]
push esi
push dword [ebp - 0x70]
call fcn.100b4770
mov esi, dword [ebp - 0x9c]
lea edi, [ebp - 0x40]
xor eax, eax
stosd dword es:[edi], eax
push 0xc
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100b6060
add esp, 0x14
lea ecx, [ebp - 0x40]
push eax
call fcn.1007241b
push 0xc
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push esi
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x40]
call fcn.100b5ee0
mov esi, eax
lea edi, [ebp - 0x64]
xor eax, eax
lea ecx, [ebp - 0x64]
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
call fcn.100723b3
push esi
mov byte [ebp - 4], 9
push dword [ebp - 0x40]
push 0xc
push dword [ebp - 0x9c]
push dword [ebp - 0x64]
call fcn.100b5d90
xor eax, eax
lea edi, [ebp - 0x8c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x8c]
add esp, 0x10
stosd dword es:[edi], eax
push dword [ebp - 0x90]
stosd dword es:[edi], eax
call fcn.100723b3
lea ecx, [ebp - 0x8c]
call fcn.10072391
lea ecx, [ebp - 0x64]
call fcn.10072391
lea ecx, [ebp - 0x40]
call fcn.1007246e
lea ecx, [ebp - 0x70]
call fcn.1007246e
lea ecx, [ebp - 0x7c]
call fcn.10072391
lea ecx, [ebp - 0x4c]
call fcn.10072391
lea ecx, [ebp - 0x34]
call fcn.10072391
lea ecx, [ebp - 0x58]
call fcn.10072391
lea ecx, [ebp - 0x1c]
call fcn.10072391
lea ecx, [ebp - 0x28]
call fcn.10072391
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x80]
mov edi, dword [ebp - 0xb8]
push 0
push eax
push 0x25a0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.10104715
ret