Function at 0x1000a130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebp, ecx
movsx ecx, word [eax + 0x54]
mov eax, dword [eax + 0x5c]
push esi
imul eax, ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x84]
push edi
mov dword [esp + 0x14], ebp
movsx edx, word [ecx + 0x8e]
add ecx, 0xa0
mov dword [esp + 0x78], edx
mov dword [esp + 0x5c], ecx
mov edi, eax
mov ax, word [ecx - 0x2c]
mov ecx, dword [ebp + 0xfa4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xfa8]
movsx eax, ax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xac]
add eax, edx
cmp eax, 0x80
mov dword [ecx], 0
jne 0x1000a959
mov ecx, ebp
call fcn.10009a40
mov edx, dword [ebp + 0x834]
mov eax, dword [ebp + 0x838]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x60]
push ecx
push edx
push 0
push 0
mov ecx, ebp
mov dword [esp + 0x58], eax
call fcn.10009960
lea eax, [edi - 1]
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], eax
lea edx, [esp + 0x68]
fild dword [esp + 0x44]
push ecx
push edx
push 0
mov ecx, ebp
fstp dword [esp + 0x50]
mov esi, dword [esp + 0x50]
push esi
call fcn.10009960
lea eax, [edi - 1]
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], eax
lea edx, [esp + 0x6c]
fild dword [esp + 0x44]
push ecx
push edx
mov ecx, ebp
fstp dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
push ebx
push 0
call fcn.10009960
lea eax, [esp + 0x50]
lea ecx, [esp + 0x64]
push eax
push ecx
push ebx
push esi
mov ecx, ebp
call fcn.10009960
fld dword [esp + 0x40]
fcomp dword [0x10021578]
fld dword [esp + 0x48]
fnstsw ax
fcomp dword [0x10021578]
test ah, 0x41
fnstsw ax
jne 0x1000a292
test ah, 0x41
jne 0x1000a275
fld dword [esp + 0x58]
fadd dword [0x10021790]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x54]
mov ebx, eax
sub ebx, 0xc350
jmp 0x1000a2cf
fld dword [esp + 0x50]
fadd dword [0x10021790]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x4c]
mov ebx, eax
sub ebx, 0xc350
jmp 0x1000a2cf
test ah, 0x41
jne 0x1000a2b4
fld dword [esp + 0x4c]
fadd dword [0x10021790]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x50]
mov ebx, eax
sub ebx, 0xc350
jmp 0x1000a2cf
fld dword [esp + 0x54]
fadd dword [0x10021790]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x58]
mov ebx, eax
sub ebx, 0xc350
fadd dword [0x10021790]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x60]
fsub dword [esp + 0x64]
sub eax, 0xc34f
mov dword [esp + 0x18], eax
fabs
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x68]
fsub dword [esp + 0x6c]
mov esi, eax
add esi, 5
fabs
call sub.MSVCRT.dll__ftol
add eax, 5
cmp eax, esi
jle 0x1000a30f
mov esi, eax
shl esi, 2
push esi
call fcn.10005cd0
push esi
mov dword [esp + 0x50], eax
call fcn.10005cd0
push esi
mov dword [esp + 0x28], eax
call fcn.10005cd0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea edx, [esp + 0x84]
push edi
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.10009d30
test eax, eax
je 0x1000a389
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
sub eax, ecx
lea ecx, [eax*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xb64]
xor edi, edi
mov ebp, edx
cmp eax, edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x28], ebp
jne 0x1000a3b9
cmp eax, edi
je 0x1000a3c3
cmp eax, 2
je 0x1000a3c3
cmp eax, 1
jne 0x1000a3dc
lea eax, [esi + 0xba4]
mov ecx, 0x80
mov dword [eax + 0x200], edi
mov dword [eax], edi
add eax, 4
dec ecx
jne 0x1000a3ce
mov edi, dword [esp + 0x94]
mov ecx, 0x4000
xor eax, eax
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
cmp ebx, dword [esp + 0x18]
jl 0x1000a6ac
mov eax, dword [esp + 0x84]
cmp eax, edx
jl 0x1000a432
mov ecx, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
sub ecx, edx
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
cmp ecx, ebp
mov ebx, edx
mov dword [esp + 0x44], eax
jl 0x1000a46e
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
sub ecx, ebp
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ebp
cmp ecx, edi
mov dword [esp + 0x10], edx
je 0x1000a4c3
mov eax, dword [esp + 0x70]
mov edx, ecx
push eax
push eax
push 0
dec edx
push 0
lea eax, [esp + 0x30]
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x98]
push ecx
push edx
push eax
mov ecx, esi
call fcn.10009d30
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x84]
cmp ecx, edx
jl 0x1000a693
mov esi, dword [esp + 0x48]
mov ecx, edx
sub ecx, ebx
lea ecx, [esi + ecx*4]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, edx
sub ecx, ebp
cmp edx, ebx
lea ecx, [esi + ecx*4]
mov dword [esp + 0x44], ecx
jle 0x1000a4fe
mov ebx, edx
cmp ebp, ebx
mov dword [esp + 0x38], ebx
jle 0x1000a50a
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x84]
cmp ecx, eax
jg 0x1000a517
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
cmp eax, ecx
jle 0x1000a527
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 0x4000]
and ebx, 0x8000007f
jns 0x1000a53e
dec ebx
or ebx, 0xffffff80
inc ebx
mov eax, dword [esp + 0x84]
mov esi, edx
shl ebx, 7
cmp edx, eax
jg 0x1000a693
mov edi, dword [esp + 0x94]
lea ecx, [esi + 0x4000]
and ecx, 0x8000007f
jns 0x1000a56c
dec ecx
or ecx, 0xffffff80
inc ecx
mov eax, dword [esp + 0x74]
add ecx, ebx
fld dword [0x100215a0]
cmp byte [ecx + eax], 0
je 0x1000a586
fstp st(0)
fld dword [0x10021560]
mov eax, dword [esp + 0x34]
movsx ebp, word [eax + ecx*2]
cmp esi, dword [esp + 0x38]
jl 0x1000a5d8
cmp esi, dword [esp + 0x3c]
jg 0x1000a5d8
mov eax, dword [esp + 0x44]
fld dword [eax]
mov eax, dword [esp + 0x40]
fadd dword [eax]
mov eax, dword [esp + 0x24]
fmul dword [0x100215ac]
fcom dword [eax]
fnstsw ax
test ah, 1
je 0x1000a5c3
fstp st(0)
fld dword [0x10021560]
jmp 0x1000a5de
mov eax, dword [esp + 0x24]
fcomp dword [eax]
fnstsw ax
test ah, 0x41
jne 0x1000a5d8
fld dword [0x100215a0]
jmp 0x1000a5de
fld dword [0x10021578]
cmp esi, edx
jle 0x1000a61d
cmp esi, dword [esp + 0x84]
jge 0x1000a61d
mov edx, dword [esp + 0x24]
fld dword [edx - 4]
fadd dword [edx + 4]
fmul dword [0x100215ac]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x1000a60e
fstp st(0)
fadd dword [0x10021560]
jmp 0x1000a61d
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x1000a61d
fsub dword [0x10021560]
mov edx, dword [esp + 0x24]
mov eax, 4
fmulp st(1)
add edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
fld st(0)
fadd dword [edi + ecx*4]
add edx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x44]
add edx, eax
fstp dword [edi + ecx*4]
and ecx, 0x80000001
mov dword [esp + 0x44], edx
jns 0x1000a657
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, dword [esp + 0x14]
je 0x1000a66d
fadd dword [eax + ebp*4 + 0xba4]
fstp dword [eax + ebp*4 + 0xba4]
jmp 0x1000a67b
fadd dword [eax + ebp*4 + 0xda4]
fstp dword [eax + ebp*4 + 0xda4]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x1000a559
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
dec eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jge 0x1000a3fa
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x34]
xor ebp, ebp
xor ebx, ebx
lea edx, [ecx + 4]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x44], ebx
lea ecx, [eax + 2]
mov edi, 0x2000
fld dword [edx]
fabs
fcomp qword [0x10021788]
fnstsw ax
test ah, 0x41
jne 0x1000a711
movsx eax, word [ecx]
inc ebx
fld dword [esi + eax*4 + 0xda4]
fcomp dword [0x10021578]
fld dword [edx]
fnstsw ax
fcomp dword [0x10021578]
test ah, 1
fnstsw ax
je 0x1000a70b
test ah, 1
je 0x1000a711
jmp 0x1000a710
test ah, 0x41
jne 0x1000a711
inc ebp
add ecx, 4
add edx, 8
dec edi
jne 0x1000a6d1
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x44], ebx
mov edi, 0x2000
fld dword [edx]
fabs
fcomp qword [0x10021780]
fnstsw ax
test ah, 0x41
jne 0x1000a775
movsx eax, word [ecx]
inc ebx
fld dword [esi + eax*4 + 0xba4]
fcomp dword [0x10021578]
fld dword [edx]
fnstsw ax
fcomp dword [0x10021578]
test ah, 1
fnstsw ax
je 0x1000a76f
test ah, 1
je 0x1000a775
jmp 0x1000a774
test ah, 0x41
jne 0x1000a775
inc ebp
add ecx, 4
add edx, 8
dec edi
jne 0x1000a735
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x48]
push edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x48], ebx
mov dword [ecx], ebx
call fcn.10005d00
mov eax, dword [esp + 0x20]
push eax
call fcn.10005d00
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10005d00
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
add esp, 0xc
cmp eax, 2
mov dword [edi], 0
mov ebp, 0x5dc
je 0x1000a7d6
mov ebp, 0x80
cmp ebx, ebp
jle 0x1000a810
fild dword [esp + 0x80]
cmp dword [esp + 0xa0], 2
fmul dword [0x1002177c]
fidiv dword [esp + 0x44]
fst dword [esp + 0x80]
fstp dword [edi]
jne 0x1000a810
mov edx, dword [ebp + esi + 0x2c2c0688]
push es
sub al, 0x2c
inc ecx
pop edx
test eax, 0x31d56ea9
push es
mov bh, 0x1a
cmp dword [edx + 0x8141d70], eax
rol byte [eax], 0x90
invalid
and al, 0x10
jge 0x1000a802
imul esp, esi, 0x48df0c4b
invalid
cmc
jo 0x1000a87a
mov edi, 0x3084c252
inc ebp
add eax, 0x7ab038b
push edi
inc ebp
cmp byte [eax + edi], cl
pop es
or al, 0x16
adc cl, byte [0x5d08e141]
invalid
and byte [0x89b784f], cl
cmp dword [eax], 0xffffffc0
hlt
inc esi
jnp 0x1000a939
and byte [ebx + edx*2], al
mov dl, al
jge 0x1000a8ee
xor byte [ebp - 0x665f6750], al
loopne 0x1000a97b
rcr dword [eax - 0x4e51cf3e], cl
movsd dword es:[edi], dword [esi]
call 0xd15ccfc4
mov ecx, 0x902d81b
push 0x6f
or dword [edx + 0x6f], ebp
push ebp
and eax, eax
push 0x1154c38
arpl word [ebx + ecx*4 + 0x702c35e2], cx
hlt