Function at 0x10072540
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.10070d80
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.0x10072c2e
lea ecx, [esp + 0x1c]
xor edi, edi
mov ebp, 1
call fcn.10070a10
movzx esi, al
lea eax, [esi - 1]
cmp eax, 0x1e
mov dword [esp + 0x14], esi
ja case.0x100725ff.2
movzx edx, byte [eax + 0x10073014]
jmp dword [edx*4 + 0x10072fc4]
cmp dword [esp + 0x28], 0
je 0x10072618
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.10070a70
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x100725c7
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 0x100725c7
cmp ebx, 2
fstp st(0)
mov dword [esp + 0x28], 0
jl 0x10072742
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.10072220
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x100725c7
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x10072c2e
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
jmp 0x1007268c
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x10072c2e
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x4c]
jmp 0x1007268c
cmp ebx, 2
jl case.default.0x10072c2e
cmp ebx, 1
jle 0x10072f97
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.10072280
add ebp, 2
add esp, 8
add edi, 8
cmp ebp, ebx
jl 0x10072700
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100725c7
cmp ebx, 1
jge 0x1007277d
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
cmp ebx, 1
jl case.default.0x10072c2e
cmp edi, ebx
jge 0x10072f8f
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.10072280
fldz
add esp, 8
add edi, ebp
cmp edi, ebx
jge 0x10072f8f
fld dword [esp + edi*4 + 0x48]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10072280
fldz
add esp, 8
add edi, ebp
jmp 0x10072754
cmp ebx, 4
jl case.default.0x10072c2e
jmp 0x10072818
cmp ebx, 4
jl case.default.0x10072c2e
lea eax, [edi + 3]
cmp eax, ebx
jge 0x10072f8f
mov ecx, ebx
sub ecx, edi
cmp ecx, 5
jne 0x100727d2
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x100727d6
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.100722d0
fldz
add esp, 0x18
add edi, 4
lea edx, [edi + 3]
cmp edx, ebx
jge 0x10072f8f
mov eax, ebx
sub eax, edi
cmp eax, 5
jne 0x10072836
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x1007283a
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.100722d0
fldz
add esp, 0x18
add edi, 4
jmp 0x100727b4
cmp ebx, 6
jl case.default.0x10072c2e
cmp ebx, 5
jle 0x10072f97
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.100722d0
add ebp, 6
add esp, 0x18
add edi, 0x18
cmp ebp, ebx
jl 0x100728a0
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100725c7
cmp ebx, 8
fstp st(0)
jl 0x10072742
lea eax, [ebx - 2]
cmp eax, 5
jle 0x10072967
mov esi, dword [esp + 0x1a4]
mov ebp, 5
jmp 0x10072920
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.100722d0
add ebp, 6
lea eax, [ebx - 2]
add esp, 0x18
add edi, 6
cmp ebp, eax
jl 0x10072920
lea ecx, [edi + 1]
cmp ecx, ebx
jge 0x10072742
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.10072280
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x100725c7
cmp ebx, 8
fstp st(0)
jl 0x10072742
lea eax, [ebx - 6]
cmp eax, 1
jle 0x100729e7
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.10072280
add ebp, 2
lea eax, [ebx - 6]
add esp, 8
add edi, 2
cmp ebp, eax
jl 0x100729c0
lea edx, [edi + 5]
cmp edx, ebx
jge 0x10072742
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.100722d0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100725c7
cmp ebx, 4
jl case.default.0x10072c2e
test bl, 1
fst dword [esp + 0x10]
je 0x10072a62
fld dword [esp + 0x48]
mov edi, ebp
fstp dword [esp + 0x10]
lea ebp, [edi + 3]
cmp ebp, ebx
jge 0x10072f97
lea edi, [esp + edi*4 + 0x50]
jmp 0x10072a77
mov esi, dword [esp + 0x14]
sub esp, 0x18
cmp esi, 0x1b
mov esi, dword [esp + 0x1bc]
jne 0x10072aab
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 0x10072ace
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.100722d0
fldz
add ebp, 4
add esp, 0x18
fst dword [esp + 0x10]
add edi, 0x10
cmp ebp, ebx
jl 0x10072a73
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100725c7
cmp dword [esp + 0x38], 0
jne case.0x100725ff.29
mov ebp, dword [esp + 0x19c]
cmp dword [ebp + 0x78], 0
je 0x10072b3f
mov eax, dword [esp + 0x1a0]
push eax
mov ebx, ebp
lea edi, [esp + 0x10c]
call fcn.10072400
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 0x10072b50
mov ebp, dword [esp + 0x19c]
cmp ebx, 1
jl case.default.0x10072c2e
fld dword [esp + ebx*4 + 0x44]
sub ebx, 1
mov dword [esp + 0x10], ebx
call fcn.101185e0
mov edx, dword [esp + 0x30]
cmp edx, 0xa
jge case.default.0x10072c2e
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 0x10072ba7
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.10072370
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.0x10072c2e
mov dword [esp + 0x20], 0
jmp 0x100725c7
mov eax, dword [esp + 0x30]
test eax, eax
jle case.default.0x10072c2e
sub eax, 1
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
lea eax, [esp + eax*4 + 0x120]
jmp 0x100725b3
lea ecx, [esp + 0x1c]
call fcn.10070a10
movzx eax, al
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x10072c2e
jmp dword [eax*4 + 0x10073034]
cmp ebx, 7
jl case.default.0x10072c2e
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.100722d0
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.100722d0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100725c7
cmp ebx, 0xd
fstp st(0)
jl 0x10072742
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.100722d0
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.100722d0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100725c7
cmp ebx, 9
jl case.default.0x10072c2e
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.100722d0
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.100722d0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100725c7
cmp ebx, 0xb
fstp st(0)
jl 0x10072742
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 0x10072e8f
fstp st(1)
fchs
fstp dword [esp + 0x14]
jmp 0x10072e97
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.100722d0
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.100722d0
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x100725c7
cmp esi, 0xff
je 0x10072f71
cmp esi, 0x1c
je 0x10072f33
add esi, 0xffffffe0
cmp esi, 0xde
ja case.default.0x10072c2e
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.10070a70
add esp, 4
call fcn.10070b90
movsx ecx, ax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
cmp ebx, 0x30
fstp dword [esp + 0x10]
jge case.default.0x10072c2e
fld dword [esp + 0x10]
fstp dword [esp + ebx*4 + 0x48]
add ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x100725c7
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.10070a80
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x101ab890]
jmp 0x10072f51
test ebp, ebp
je 0x100725c7
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x100725c7
mov esi, dword [esp + 0x1a4]
fstp st(0)
call fcn.100721d0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x188
ret