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

Disassembly:
sub esp, 0x90
push ebx
push esi
mov esi, dword [esp + 0x9c]
mov al, byte [esi + 0x3ba]
xor bl, bl
cmp al, 0x29
push edi
jne 0x429ae2
movzx eax, byte [esi + 0x3df]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x429ae2
fld dword [esi + 0x48]
fld dword [esi + 0x44]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x858c58]
fnstsw ax
test ah, 5
jp 0x429ae2
fld dword [esp + 0xa4]
mov bl, 1
fadd dword [0x858fe4]
fstp dword [esp + 0xa4]
movzx ecx, word [esi + 0x20]
mov edx, dword [0xb7cb78]
lea eax, [ecx + edx]
xor edx, edx
mov edi, 0x1f4
div edi
mov eax, dword [0xb7cb84]
add eax, ecx
mov ecx, 0x1f4
mov edi, edx
xor edx, edx
div ecx
cmp edx, edi
jae 0x42a07f
mov edx, dword [esi + 0x9a8]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x9ac], edx
fld dword [esi + 0x44]
fmul dword [0x858b40]
xor edi, edi
cmp eax, edi
fstp dword [esp + 0x24]
fld dword [esi + 0x48]
fmul dword [0x858b40]
fstp dword [esp + 0x28]
fld dword [esi + 0x4c]
fmul dword [0x858b40]
je 0x429b4f
add eax, 0x30
jmp 0x429b52
lea eax, [esi + 4]
fadd dword [eax + 8]
lea ecx, [esp + 0x4c]
fld dword [esp + 0x28]
fadd dword [eax + 4]
fld dword [esp + 0x24]
fadd dword [eax]
mov dword [esp + 0x54], 0xbf800000
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [esp + 0xa4]
fcos
fst dword [esp + 0x1c]
fstp dword [esp + 0x4c]
fld dword [esp + 0xa4]
fsin
fst dword [esp + 0x20]
fstp dword [esp + 0x50]
call fcn.0059c910
fld dword [esp + 0x4c]
fmul dword [0x858b34]
push 1
fld dword [esp + 0x54]
push edi
fmul dword [0x858b34]
push edi
fld dword [esp + 0x60]
push edi
fmul dword [0x858b34]
push edi
push edi
push edi
push 1
fstp dword [esp + 0x4c]
fxch st(1)
lea eax, [esp + 0x50]
fadd dword [esp + 0x54]
push eax
lea ecx, [esp + 0x94]
push ecx
fstp dword [esp + 0x80]
lea edx, [esp + 0x80]
push edx
fadd dword [esp + 0x64]
lea eax, [esp + 0x60]
push eax
fstp dword [esp + 0x8c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x90]
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x429c59
test bl, bl
je 0x429c30
fld dword [esi + 0x9b0]
fmul dword [0x858b8c]
fadd dword [esp + 0x78]
jmp 0x429c3a
fld dword [esp + 0x78]
fadd dword [esi + 0x9b0]
fld dword [esi + 0x9ac]
fst dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x429c53
fstp st(0)
fld dword [esp + 0xc]
fstp dword [esi + 0x9ac]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
mov dword [esp + 0x40], eax
fld dword [esp + 0x40]
mov al, byte [esi + 0x42c]
test al, al
fmul dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
faddp st(1)
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x4c]
fsqrt
mov dword [esp + 0x48], edx
fmul dword [0x858628]
jns 0x429cc6
fadd dword [0x858c80]
jmp 0x429ccc
fadd dword [0x858ca4]
fstp dword [esp + 0x1c]
push 1
fld dword [esp + 0x14]
push edi
fmul dword [esp + 0x24]
push edi
fld dword [esp + 0x20]
push edi
fmul dword [esp + 0x2c]
push edi
fld dword [esp + 0x30]
push edi
fmul dword [0x858b50]
push edi
push 1
mov byte [esi + 0x9b8], 1
fstp dword [esp + 0x4c]
fxch st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
fadd dword [esp + 0x58]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
fstp dword [esp + 0x38]
fld dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
fadd dword [esp + 0x60]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x94]
push ecx
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
lea edx, [esp + 0x80]
push edx
push eax
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x42a070
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0x447a0000
mov dword [esp + 0xc], 0x447a0000
mov dword [esp + 0x48], 0
call fcn.0059c910
fld dword [esp + 0x40]
fmul dword [0x85862c]
mov eax, dword [esi + 0x14]
cmp eax, edi
fld dword [esp + 0x44]
fmul dword [0x85862c]
lea ecx, [eax + 0x30]
fld dword [esp + 0x48]
fmul dword [0x85862c]
fstp dword [esp + 0x2c]
jne 0x429dcc
lea ecx, [esi + 4]
cmp eax, edi
fxch st(1)
fadd dword [ecx]
fstp dword [esp + 0x10]
fadd dword [ecx + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
fadd dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
fmul dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x50]
fmul dword [esp + 0x1c]
fld dword [esp + 0x54]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x6c]
fxch st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
fadd dword [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
fadd dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
je 0x429e59
add eax, 0x30
jmp 0x429e5c
lea eax, [esi + 4]
push 1
push edi
push edi
push edi
push edi
push edi
push edi
push 1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x429e8f
mov dword [esp + 0xc], 0
jmp 0x429ef3
push 1
push edi
push edi
push edi
push edi
push edi
push edi
push 1
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x429ef3
fld dword [esp + 0x70]
fsub dword [esp + 0x34]
fld dword [esp + 0x74]
fsub dword [esp + 0x38]
fld dword [esp + 0x78]
fsub dword [esp + 0x3c]
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)
fstp dword [esp + 0xc]
fld dword [esp + 0x40]
mov ecx, dword [esi + 0x14]
cmp ecx, edi
fmul dword [0x85862c]
fld dword [esp + 0x44]
lea eax, [ecx + 0x30]
fmul dword [0x85862c]
fld dword [esp + 0x48]
fmul dword [0x85862c]
fstp dword [esp + 0x6c]
jne 0x429f22
lea eax, [esi + 4]
cmp ecx, edi
fld dword [eax]
fsub st(2)
fstp dword [esp + 0x10]
fld dword [eax + 4]
fsub st(1)
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
mov eax, dword [esp + 0x10]
fsub dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
fmul dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
fld dword [esp + 0x50]
fmul dword [esp + 0x1c]
fld dword [esp + 0x54]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x6c]
fxch st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
fadd dword [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
fadd dword [esp + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [ecx + 0x30]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
jne 0x429fb6
lea eax, [esi + 4]
push 1
push edi
push edi
push edi
push edi
push edi
push edi
push 1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x429fe7
fld dword [0x858b50]
jmp 0x42a04d
push 1
push edi
push edi
push edi
push edi
push edi
push edi
push 1
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x42a049
fld dword [esp + 0x70]
fsub dword [esp + 0x34]
fld dword [esp + 0x74]
fsub dword [esp + 0x38]
fld dword [esp + 0x78]
fsub dword [esp + 0x3c]
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)
jmp 0x42a04d
fld dword [esp + 0x20]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x42a064
mov dword [esi + 0x994], 0x3f000000
jmp 0x42a081
mov dword [esi + 0x994], 0xbf000000
jmp 0x42a081
mov byte [esi + 0x9b8], 0
mov dword [esi + 0x994], edi
jmp 0x42a081
xor edi, edi
cmp byte [esi + 0x3ba], 0x30
jne 0x42a097
mov byte [esi + 0x9b8], 0
mov dword [esi + 0x994], edi
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
call fcn.0053cc70
fstp dword [esp + 0x24]
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, edi
je 0x42a0ba
add eax, 0x30
jmp 0x42a0bd
lea eax, [esi + 4]
fld dword [esi + 0x4c]
fmul dword [0x858628]
fadd dword [eax + 8]
mov dword [esi + 0x998], edi
fsubr dword [esi + 0x9ac]
fcom dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x42a0ea
fmul dword [0x858b1c]
jmp 0x42a0f0
fmul dword [0x858cc4]
fstp dword [esi + 0x998]
call fcn.00821b1e
and eax, 0xf
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fsub dword [0x858f48]
fmul dword [0x858f44]
fadd dword [esi + 0x998]
fst dword [esi + 0x998]
fld dword [0x858b8c]
fsubr st(1)
fstp dword [esp + 0x30]
fst dword [esp + 0xc]
fcomp dword [0x858624]
fnstsw ax
test ah, 5
jp 0x42a1e9
fld dword [esp + 0xc]
fld dword [0x858ee4]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x42a15c
fstp st(0)
fld dword [0x858ee4]
fstp dword [esi + 0x998]
fld dword [esp + 0xa4]
fsub dword [esp + 0x1c]
fcom dword [0x858cb8]
fnstsw ax
fld dword [0x858624]
jmp 0x42a15c