Function at 0x1007406e
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.100727a0
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.0x1007464e
lea ecx, [esp + 0x1c]
xor edi, edi
mov ebp, 1
call fcn.10072430
movzx esi, al
lea eax, [esi - 1]
cmp eax, 0x1e
mov dword [esp + 0x14], esi
ja case.0x1007401f.2
movzx edx, byte [eax + 0x10074a34]
jmp dword [edx*4 + 0x100749e4]
cmp dword [esp + 0x28], 0
je 0x10074038
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.10072490
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x10073fe7
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 0x10073fe7
cmp ebx, 2
fstp st(0)
mov dword [esp + 0x28], 0
jl 0x10074162
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.10073c40
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x10073fe7
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1007464e
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
jmp 0x100740ac
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1007464e
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x4c]
jmp 0x100740ac
cmp ebx, 2
jl case.default.0x1007464e
cmp ebx, 1
jle 0x100749b7
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.10073ca0
add ebp, 2
add esp, 8
add edi, 8
cmp ebp, ebx
jl 0x10074120
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x10073fe7
cmp ebx, 1
jge 0x1007419d
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
cmp ebx, 1
jl case.default.0x1007464e
cmp edi, ebx
jge 0x100749af
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.10073ca0
fldz
add esp, 8
add edi, ebp
cmp edi, ebx
jge 0x100749af
fld dword [esp + edi*4 + 0x48]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10073ca0
fldz
add esp, 8
add edi, ebp
jmp 0x10074174
cmp ebx, 4
jl case.default.0x1007464e
jmp 0x10074238
cmp ebx, 4
jl case.default.0x1007464e
lea eax, [edi + 3]
cmp eax, ebx
jge 0x100749af
mov ecx, ebx
sub ecx, edi
cmp ecx, 5
jne 0x100741f2
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x100741f6
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.10073cf0
fldz
add esp, 0x18
add edi, 4
lea edx, [edi + 3]
cmp edx, ebx
jge 0x100749af
mov eax, ebx
sub eax, edi
cmp eax, 5
jne 0x10074256
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x1007425a
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.10073cf0
fldz
add esp, 0x18
add edi, 4
jmp 0x100741d4
cmp ebx, 6
jl case.default.0x1007464e
cmp ebx, 5
jle 0x100749b7
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.10073cf0
add ebp, 6
add esp, 0x18
add edi, 0x18
cmp ebp, ebx
jl 0x100742c0
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x10073fe7
cmp ebx, 8
fstp st(0)
jl 0x10074162
lea eax, [ebx - 2]
cmp eax, 5
jle 0x10074387
mov esi, dword [esp + 0x1a4]
mov ebp, 5
jmp 0x10074340
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.10073cf0
add ebp, 6
lea eax, [ebx - 2]
add esp, 0x18
add edi, 6
cmp ebp, eax
jl 0x10074340
lea ecx, [edi + 1]
cmp ecx, ebx
jge 0x10074162
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.10073ca0
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x10073fe7
cmp ebx, 8
fstp st(0)
jl 0x10074162
lea eax, [ebx - 6]
cmp eax, 1
jle 0x10074407
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.10073ca0
add ebp, 2
lea eax, [ebx - 6]
add esp, 8
add edi, 2
cmp ebp, eax
jl 0x100743e0
lea edx, [edi + 5]
cmp edx, ebx
jge 0x10074162
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.10073cf0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x10073fe7
cmp ebx, 4
jl case.default.0x1007464e
test bl, 1
fst dword [esp + 0x10]
je 0x10074482
fld dword [esp + 0x48]
mov edi, ebp
fstp dword [esp + 0x10]
lea ebp, [edi + 3]
cmp ebp, ebx
jge 0x100749b7
lea edi, [esp + edi*4 + 0x50]
jmp 0x10074497
mov esi, dword [esp + 0x14]
sub esp, 0x18
cmp esi, 0x1b
mov esi, dword [esp + 0x1bc]
jne 0x100744cb
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 0x100744ee
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.10073cf0
fldz
add ebp, 4
add esp, 0x18
fst dword [esp + 0x10]
add edi, 0x10
cmp ebp, ebx
jl 0x10074493
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x10073fe7
cmp dword [esp + 0x38], 0
jne case.0x1007401f.29
mov ebp, dword [esp + 0x19c]
cmp dword [ebp + 0x78], 0
je 0x1007455f
mov eax, dword [esp + 0x1a0]
push eax
mov ebx, ebp
lea edi, [esp + 0x10c]
call fcn.10073e20
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 0x10074570
mov ebp, dword [esp + 0x19c]
cmp ebx, 1
jl case.default.0x1007464e
fld dword [esp + ebx*4 + 0x44]
sub ebx, 1
mov dword [esp + 0x10], ebx
call fcn.10119fe0
mov edx, dword [esp + 0x30]
cmp edx, 0xa
jge case.default.0x1007464e
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 0x100745c7
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.10073d90
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.0x1007464e
mov dword [esp + 0x20], 0
jmp 0x10073fe7
mov eax, dword [esp + 0x30]
test eax, eax
jle case.default.0x1007464e
sub eax, 1
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
lea eax, [esp + eax*4 + 0x120]
jmp 0x10073fd3
lea ecx, [esp + 0x1c]
call fcn.10072430
movzx eax, al
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1007464e
jmp dword [eax*4 + 0x10074a54]
cmp ebx, 7
jl case.default.0x1007464e
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.10073cf0
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.10073cf0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x10073fe7
cmp ebx, 0xd
fstp st(0)
jl 0x10074162
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.10073cf0
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.10073cf0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x10073fe7
cmp ebx, 9
jl case.default.0x1007464e
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.10073cf0
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.10073cf0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x10073fe7
cmp ebx, 0xb
fstp st(0)
jl 0x10074162
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 0x100748af
fstp st(1)
fchs
fstp dword [esp + 0x14]
jmp 0x100748b7
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.10073cf0
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.10073cf0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x10073fe7
cmp esi, 0xff
je 0x10074991
cmp esi, 0x1c
je 0x10074953
add esi, 0xffffffe0
cmp esi, 0xde
ja case.default.0x1007464e
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.10072490
add esp, 4
call fcn.100725b0
movsx ecx, ax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
cmp ebx, 0x30
fstp dword [esp + 0x10]
jge case.default.0x1007464e
fld dword [esp + 0x10]
fstp dword [esp + ebx*4 + 0x48]
add ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x10073fe7
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.100724a0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x101ac9a0]
jmp 0x10074971
test ebp, ebp
je 0x10073fe7
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x10073fe7
mov esi, dword [esp + 0x1a4]
fstp st(0)
call fcn.10073bf0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x188
ret