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

Disassembly:
mov al, byte [0x9618bc]
sub esp, 0x168
test al, 1
push ebx
push ebp
push esi
push edi
mov ebx, ecx
jne 0x455d4d
mov dl, al
push 0x456820
or dl, 1
mov byte [0x9618bc], dl
call fcn.007a2d4c
add esp, 4
lea eax, [ebx + 0x54]
xor edi, edi
push eax
push edi
push 0x961878
call fcn.0076fc8e
mov ebp, dword [esp + 0x180]
mov dword [esp + 0x74], edi
fld dword [0x961878]
fmul dword [ebp]
fld dword [0x961898]
fmul dword [ebp + 8]
mov ecx, ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
faddp st(1)
fld dword [0x961888]
fmul dword [ebp + 4]
mov edx, dword [ecx]
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], edi
faddp st(1)
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], 0x461c4000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x184]
fadd dword [0x9618a8]
fld dword [0x96187c]
fmul dword [ebp]
fld dword [0x96189c]
fmul dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], 0xffffffff
faddp st(1)
fld dword [0x96188c]
fmul dword [ebp + 4]
mov ecx, dword [edx]
mov dword [esp + 0x3c], ecx
faddp st(1)
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
fadd dword [0x9618ac]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], edx
fst dword [esp + 0x7c]
fld dword [0x961880]
fmul dword [ebp]
fld dword [0x9618a0]
fmul dword [ebp + 8]
faddp st(1)
fld dword [0x961890]
fmul dword [ebp + 4]
mov dword [0x9618a8], edi
mov dword [0x9618ac], edi
faddp st(1)
fadd dword [0x9618b0]
mov dword [0x9618b0], edi
fstp dword [esp + 0x80]
fld st(1)
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0x20]
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x24]
fld dword [0x961878]
fmul dword [eax]
fld dword [0x961898]
fmul dword [eax + 8]
faddp st(1)
fld dword [0x961888]
fmul dword [eax + 4]
faddp st(1)
fld dword [0x96187c]
fmul dword [eax]
fld dword [0x96189c]
fmul dword [eax + 8]
faddp st(1)
fld dword [0x96188c]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [0x961880]
fmul dword [eax]
fld dword [0x9618a0]
fmul dword [eax + 8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
faddp st(1)
fld dword [0x961890]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x3c]
fld dword [ebx + 0x11c]
fadd dword [ebx + 0x128]
fld dword [ebx + 0x120]
fadd dword [ebx + 0x12c]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x58]
fld dword [ebx + 0x124]
fadd dword [ebx + 0x130]
fstp dword [esp + 0x5c]
fmul dword [0x7e5860]
fstp dword [esp + 0x2c]
fld dword [esp + 0x58]
fmul dword [0x7e5860]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x5c]
fmul dword [0x7e5860]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], edx
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fsubr dword [esp + 0x2c]
fld dword [esp + 0x30]
fsub dword [esp + 0x7c]
fld dword [esp + 0x34]
fsub dword [esp + 0x80]
mov dword [esp + 0x8c], eax
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcomp dword [ebx + 0x118]
fnstsw ax
test ah, 0x41
jne 0x456399
mov al, byte [0x9ee954]
test al, 1
jne 0x455fbe
mov dl, al
push fcn.00457250
push 0x24
or dl, 1
push 0xc
push 0x9ee960
mov byte [0x9ee954], dl
call fcn.00401300
push fcn.004e4740
call fcn.007a2d4c
add esp, 4
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9ee960
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee96c
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee978
call fcn.004251c0
push 0x9ee960
mov ecx, 0x9ee984
call fcn.00426b10
push 0x9ee978
mov ecx, 0x9ee990
call fcn.00426b10
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9ee99c
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee9a8
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee9b4
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee9c0
call fcn.004251c0
push 0x9ee9a8
mov ecx, 0x9ee9cc
call fcn.00426b10
push 0x9ee9c0
mov ecx, 0x9ee9d8
call fcn.00426b10
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee9e4
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9ee9f0
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9ee9fc
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea08
call fcn.004251c0
push 0x9ee9f0
mov ecx, 0x9eea14
call fcn.00426b10
push 0x9eea08
mov ecx, 0x9eea20
call fcn.00426b10
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9eea2c
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea38
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea44
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea50
call fcn.004251c0
push 0x9eea38
mov ecx, 0x9eea5c
call fcn.00426b10
push 0x9eea50
mov ecx, 0x9eea68
call fcn.00426b10
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea74
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eea80
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
push ecx
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push edx
push eax
mov ecx, 0x9eea8c
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9eea98
call fcn.004251c0
push 0x9eea80
mov ecx, 0x9eeaa4
call fcn.00426b10
push 0x9eea98
mov ecx, 0x9eeab0
call fcn.00426b10
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eeabc
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eeac8
call fcn.004251c0
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9eead4
call fcn.004251c0
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x128]
push ecx
push edx
push eax
mov ecx, 0x9eeae0
call fcn.004251c0
push 0x9eeac8
mov ecx, 0x9eeaec
call fcn.00426b10
push 0x9eeae0
mov ecx, 0x9eeaf8
call fcn.00426b10
mov ecx, dword [ebx + 0x130]
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
push ecx
push edx
push eax
mov ecx, 0x9eeb04
call fcn.004251c0
mov esi, 0x9ee96c
lea ecx, [esi + 0xc]
lea edx, [esi - 0xc]
push ecx
push esi
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00457b40
add esp, 0x14
cmp al, 1
je 0x456399
add esi, 0x24
cmp esi, 0x9eeb1c
jl 0x45635f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x168
ret 0x14
mov ecx, dword [ebx + 0x178]
cmp ecx, edi
jne 0x4563a9
mov dword [esp + 0x38], edi
jmp 0x4563b8
mov eax, dword [ebx + 0x17c]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edi
test eax, eax
jle 0x45680a
mov edx, dword [ebx + 0x178]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x4567f9
add esi, 0xf8
test esi, esi
je 0x4567f9
mov ecx, esi
call fcn.00453110
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x50], eax
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x4567f9
test ecx, ecx
je 0x4567f9
mov ecx, dword [esi + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [ebx + 0x178]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [ecx + edi*4]
add edx, 0x38
push edx
push 0
push 0x961878
call fcn.0076fc8e
fld dword [0x961878]
fmul dword [ebp]
fld dword [0x961898]
fmul dword [ebp + 8]
mov ecx, 0x10
mov esi, 0x961878
lea edi, [esp + 0x138]
lea edx, [esp + 0x78]
faddp st(1)
fld dword [0x961888]
fmul dword [ebp + 4]
rep movsd dword es:[edi], dword [esi]
faddp st(1)
fadd dword [0x9618a8]
fld dword [0x96187c]
fmul dword [ebp]
fld dword [0x96189c]
fmul dword [ebp + 8]
faddp st(1)
fld dword [0x96188c]
fmul dword [ebp + 4]
push 0x961878
push edx
faddp st(1)
fadd dword [0x9618ac]
fstp dword [esp + 0x60]
fld dword [0x961880]
fmul dword [ebp]
fld dword [0x9618a0]
fmul dword [ebp + 8]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
faddp st(1)
fld dword [0x961890]
fmul dword [ebp + 4]
mov dword [0x9618a8], 0
mov dword [0x9618ac], 0
faddp st(1)
fadd dword [0x9618b0]
mov dword [0x9618b0], 0
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
fstp dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18c]
call fcn.004572b0
push eax
lea ecx, [esp + 0x40]
call fcn.00426b10
mov eax, dword [esp + 0x10]
cmp eax, 0x40
jle 0x456657
mov edi, dword [ebx + 0x178]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push 0x40000000
lea ecx, [esp + 0x13c]
push eax
lea edx, [esp + 0x134]
push ecx
mov ecx, dword [edi + esi*4]
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.00458020
mov ecx, eax
call fcn.004572b0
lea ecx, [esp + 0x104]
push eax
lea edx, [esp + 0x144]
push ecx
lea eax, [esp + 0xdc]
push edx
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, dword [edi + esi*4]
call fcn.00457f60
mov ecx, eax
call fcn.004572b0
mov ecx, eax
call fcn.00435ff0
mov ecx, eax
call fcn.00457330
push eax
lea ecx, [esp + 0x88]
call fcn.00426b10
mov edi, dword [ebx + 0x178]
lea edx, [esp + 0x20]
lea eax, [esp + 0xe4]
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004254e0
mov ecx, eax
call fcn.00424e70
fstp dword [esp + 0x18]
mov ecx, dword [edi + esi*4]
call fcn.004580e0
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x456653
mov edi, dword [ebx + 0x178]
lea ecx, [esp + 0x138]
lea edx, [esp + 0x114]
push ecx
mov ecx, dword [edi + esi*4]
lea eax, [esp + 0xac]
push edx
push eax
call fcn.00458020
mov ecx, eax
call fcn.004572b0
lea ecx, [esp + 0x138]
push eax
lea edx, [esp + 0xc4]
push ecx
mov ecx, dword [edi + esi*4]
lea eax, [esp + 0xe0]
push edx
push eax
call fcn.00457f60
mov ecx, eax
call fcn.004572b0
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00457480
add esp, 0x10
test al, al
je 0x4567f5
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4567f5
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea esi, [ecx + 4]
mov dword [esp + 0x10], esi
jmp 0x456674
mov esi, dword [esp + 0x10]
xor edx, edx
xor eax, eax
mov dx, word [esi]
mov ax, word [esi - 4]
xor ecx, ecx
mov cx, word [esi - 2]
mov esi, dword [esp + 0x50]
shl edx, 5
shl ecx, 5
lea edi, [edx + esi]
mov edx, dword [esp + 0x50]
shl eax, 5
add esi, ecx
add eax, edx
push edi
push esi
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00457b40
add esp, 0x14
test al, al
je 0x4567db
lea edx, [esp + 0x6c]
lea eax, [esp + 0x98]
push edx
lea ecx, [esp + 0x98]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x98]
push ecx
push edx
push edi
push esi
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00436a80
mov eax, dword [ebx + 0x178]
mov ecx, dword [esp + 0x38]
add esp, 0x24
mov edx, dword [eax + ecx*4]
lea ecx, [esp + 0x6c]
add edx, 0x38
push edx
call fcn.0044bcd0
lea eax, [esp + 0xf0]
push esi
push eax
mov ecx, edi
call fcn.004254e0
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x10c]
push ecx
push edx
mov ecx, esi
call fcn.004254e0
push eax
lea ecx, [esp + 0x68]
call fcn.00436a40
lea ecx, [esp + 0x60]
call fcn.00457260
mov eax, dword [ebx + 0x178]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + esi*4]
add ecx, 0x38
push ecx
push 0
push 0x961878
call fcn.0076fc8e
push 0
push 0
push 0
mov ecx, 0x961878
call fcn.00457380
push 0x961878
lea ecx, [esp + 0x64]
call fcn.0044bcd0
lea edx, [esp + 0x120]
push ebp
push edx
lea ecx, [esp + 0x74]
call fcn.004254e0
mov ecx, eax
call fcn.00424e70
fcom dword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x4567d9
mov ecx, dword [esp + 0x188]
fstp dword [esp + 0x48]
test ecx, ecx
je 0x4567be
lea eax, [esp + 0x6c]
push eax
call fcn.00426b10
mov ecx, dword [esp + 0x18c]
test ecx, ecx
je 0x4567d3
lea edx, [esp + 0x60]
push edx
call fcn.00426b10
mov dword [esp + 0x4c], esi
jmp 0x4567db
fstp st(0)
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 6
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x456670
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x4563c8
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 0x14