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

Disassembly:
sub esp, 0x188
mov eax, dword [esp + 0x18c]
mov edx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x58]
push ebx
push ebp
push esi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x60]
push edi
push edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x48], ecx
lea ecx, [eax + 0x40]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
xor ebx, ebx
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
mov dword [eax + 8], ecx
call fcn.10071870
fldz
add esp, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jge case.default.0x1007371e
lea ecx, [esp + 0x1c]
xor edi, edi
mov ebp, 1
call fcn.10071500
movzx esi, al
lea eax, [esi - 1]
cmp eax, 0x1e
mov dword [esp + 0x14], esi
ja case.0x100730ef.2
movzx edx, byte [eax + 0x10073b04]
jmp dword [edx*4 + 0x10073ab4]
cmp dword [esp + 0x28], 0
je 0x10073108
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.10071560
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x100730b7
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100730b7
cmp ebx, 2
fstp st(0)
mov dword [esp + 0x28], 0
jl 0x10073232
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x48]
mov eax, dword [esp + 0x1ac]
fstp dword [esp]
call fcn.10072d10
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x100730b7
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1007371e
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
jmp 0x1007317c
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1007371e
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x4c]
jmp 0x1007317c
cmp ebx, 2
jl case.default.0x1007371e
cmp ebx, 1
jle 0x10073a87
fstp st(0)
lea edi, [esp + 0x48]
lea ecx, [ecx]
fld dword [edi + 4]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi]
fstp dword [esp]
call fcn.10072d70
add ebp, 2
add esp, 8
add edi, 8
cmp ebp, ebx
jl 0x100731f0
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100730b7
cmp ebx, 1
jge 0x1007326d
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
cmp ebx, 1
jl case.default.0x1007371e
cmp edi, ebx
jge 0x10073a7f
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.10072d70
fldz
add esp, 8
add edi, ebp
cmp edi, ebx
jge 0x10073a7f
fld dword [esp + edi*4 + 0x48]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10072d70
fldz
add esp, 8
add edi, ebp
jmp 0x10073244
cmp ebx, 4
jl case.default.0x1007371e
jmp 0x10073308
cmp ebx, 4
jl case.default.0x1007371e
lea eax, [edi + 3]
cmp eax, ebx
jge 0x10073a7f
mov ecx, ebx
sub ecx, edi
cmp ecx, 5
jne 0x100732c2
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x100732c6
fst dword [esp + 0x14]
fld dword [esp + 0x14]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10072dc0
fldz
add esp, 0x18
add edi, 4
lea edx, [edi + 3]
cmp edx, ebx
jge 0x10073a7f
mov eax, ebx
sub eax, edi
cmp eax, 5
jne 0x10073326
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x1007332a
fst dword [esp + 0x14]
fld dword [esp + edi*4 + 0x54]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x2c]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.10072dc0
fldz
add esp, 0x18
add edi, 4
jmp 0x100732a4
cmp ebx, 6
jl case.default.0x1007371e
cmp ebx, 5
jle 0x10073a87
fstp st(0)
mov ebp, 5
lea edi, [esp + 0x58]
mov edi, edi
fld dword [edi + 4]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [edi]
fstp dword [esp + 0x10]
fld dword [edi - 4]
fstp dword [esp + 0xc]
fld dword [edi - 8]
fstp dword [esp + 8]
fld dword [edi - 0xc]
fstp dword [esp + 4]
fld dword [edi - 0x10]
fstp dword [esp]
call fcn.10072dc0
add ebp, 6
add esp, 0x18
add edi, 0x18
cmp ebp, ebx
jl 0x10073390
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100730b7
cmp ebx, 8
fstp st(0)
jl 0x10073232
lea eax, [ebx - 2]
cmp eax, 5
jle 0x10073457
mov esi, dword [esp + 0x1a4]
mov ebp, 5
jmp 0x10073410
fld dword [esp + edi*4 + 0x5c]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.10072dc0
add ebp, 6
lea eax, [ebx - 2]
add esp, 0x18
add edi, 6
cmp ebp, eax
jl 0x10073410
lea ecx, [edi + 1]
cmp ecx, ebx
jge 0x10073232
fld dword [esp + edi*4 + 0x4c]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.10072d70
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x100730b7
cmp ebx, 8
fstp st(0)
jl 0x10073232
lea eax, [ebx - 6]
cmp eax, 1
jle 0x100734d7
mov esi, dword [esp + 0x1a4]
fld dword [esp + edi*4 + 0x4c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.10072d70
add ebp, 2
lea eax, [ebx - 6]
add esp, 8
add edi, 2
cmp ebp, eax
jl 0x100734b0
lea edx, [edi + 5]
cmp edx, ebx
jge 0x10073232
fld dword [esp + edi*4 + 0x5c]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.10072dc0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100730b7
cmp ebx, 4
jl case.default.0x1007371e
test bl, 1
fst dword [esp + 0x10]
je 0x10073552
fld dword [esp + 0x48]
mov edi, ebp
fstp dword [esp + 0x10]
lea ebp, [edi + 3]
cmp ebp, ebx
jge 0x10073a87
lea edi, [esp + edi*4 + 0x50]
jmp 0x10073567
mov esi, dword [esp + 0x14]
sub esp, 0x18
cmp esi, 0x1b
mov esi, dword [esp + 0x1bc]
jne 0x1007359b
fstp dword [esp + 0x14]
fld dword [edi + 4]
fstp dword [esp + 0x10]
fld dword [edi]
fstp dword [esp + 0xc]
fld dword [edi - 4]
fstp dword [esp + 8]
fld dword [esp + 0x28]
fstp dword [esp + 4]
fld dword [edi - 8]
jmp 0x100735be
fld dword [edi + 4]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [edi]
fstp dword [esp + 0xc]
fld dword [edi - 4]
fstp dword [esp + 8]
fld dword [edi - 8]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.10072dc0
fldz
add ebp, 4
add esp, 0x18
fst dword [esp + 0x10]
add edi, 0x10
cmp ebp, ebx
jl 0x10073563
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100730b7
cmp dword [esp + 0x38], 0
jne case.0x100730ef.29
mov ebp, dword [esp + 0x19c]
cmp dword [ebp + 0x78], 0
je 0x1007362f
mov eax, dword [esp + 0x1a0]
push eax
mov ebx, ebp
lea edi, [esp + 0x10c]
call fcn.10072ef0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], 1
jmp 0x10073640
mov ebp, dword [esp + 0x19c]
cmp ebx, 1
jl case.default.0x1007371e
fld dword [esp + ebx*4 + 0x44]
sub ebx, 1
mov dword [esp + 0x10], ebx
call fcn.10118910
mov edx, dword [esp + 0x30]
cmp edx, 0xa
jge case.default.0x1007371e
mov edi, dword [esp + 0x1c]
lea ecx, [edx + edx*2]
lea ecx, [esp + ecx*4 + 0x120]
mov dword [ecx], edi
mov edi, dword [esp + 0x20]
add edx, 1
cmp esi, 0xa
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [ecx + 8], edi
lea edx, [esp + 0x3c]
je 0x10073697
lea edx, [ebp + 0x4c]
mov esi, dword [edx]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], esi
lea esi, [esp + 0x120]
mov dword [ecx + 8], edx
call fcn.10072e60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
je case.default.0x1007371e
mov dword [esp + 0x20], 0
jmp 0x100730b7
mov eax, dword [esp + 0x30]
test eax, eax
jle case.default.0x1007371e
sub eax, 1
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
lea eax, [esp + eax*4 + 0x120]
jmp 0x100730a3
lea ecx, [esp + 0x1c]
call fcn.10071500
movzx eax, al
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1007371e
jmp dword [eax*4 + 0x10073b24]
cmp ebx, 7
jl case.default.0x1007371e
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fst dword [esp + 0x14]
fld dword [esp + 0x6c]
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + 0x64]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.10072dc0
fldz
fst dword [esp + 0x14]
fld dword [esp + 0x78]
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0x74]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.10072dc0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100730b7
cmp ebx, 0xd
fstp st(0)
jl 0x10073232
fld dword [esp + 0x5c]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.10072dc0
fld dword [esp + 0x8c]
fstp dword [esp + 0x14]
fld dword [esp + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
call fcn.10072dc0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100730b7
cmp ebx, 9
jl case.default.0x1007371e
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.10072dc0
fld dword [esp + 0x6c]
fadd dword [esp + 0x64]
fld dword [esp + 0x7c]
fld st(0)
faddp st(2)
fxch st(1)
fchs
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esp + 0x78]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [esp + 0x74]
fstp dword [esp]
call fcn.10072dc0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100730b7
cmp ebx, 0xb
fstp st(0)
jl 0x10073232
fld dword [esp + 0x70]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x50]
fld st(0)
fadd dword [esp + 0x48]
fld dword [esp + 0x58]
fld st(0)
faddp st(2)
fld dword [esp + 0x60]
faddp st(2)
fld dword [esp + 0x68]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x54]
fld st(0)
fadd dword [esp + 0x4c]
fld dword [esp + 0x5c]
fld st(0)
faddp st(2)
fld dword [esp + 0x64]
faddp st(2)
fld dword [esp + 0x6c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fld st(0)
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fld dword [esp + 0x18]
fld st(0)
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x1007397f
fstp st(1)
fchs
fstp dword [esp + 0x14]
jmp 0x10073987
fstp st(0)
fchs
fstp dword [esp + 0x10]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.10072dc0
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
call fcn.10072dc0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100730b7
cmp esi, 0xff
je 0x10073a61
cmp esi, 0x1c
je 0x10073a23
add esi, 0xffffffe0
cmp esi, 0xde
ja case.default.0x1007371e
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.10071560
add esp, 4
call fcn.10071680
movsx ecx, ax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
cmp ebx, 0x30
fstp dword [esp + 0x10]
jge case.default.0x1007371e
fld dword [esp + 0x10]
fstp dword [esp + ebx*4 + 0x48]
add ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x100730b7
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.10071570
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x101aa1c8]
jmp 0x10073a41
test ebp, ebp
je 0x100730b7
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100730b7
mov esi, dword [esp + 0x1a4]
fstp st(0)
call fcn.10072cc0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x188
ret