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

Disassembly:
mov eax, dword [0x7c56a8]
sub esp, 0x9c
push ebx
push ebp
push esi
xor ebp, ebp
cmp eax, 3
push edi
mov esi, ecx
jne 0x42b272
mov eax, dword [esi + 0x4060]
mov ecx, dword [0x5c329c]
dec eax
xor edi, edi
cmp ecx, ebp
mov dword [esp + 0x14], eax
jle 0x42b241
mov edx, dword [edi*4 + 0x7c54f0]
cmp dword [edx + 0x4060], eax
je 0x42b130
inc edi
cmp edi, ecx
jl 0x42b117
jmp 0x42b241
lea ecx, [esi + 0xc]
call fcn.004f0050
fstp dword [esp + 0x30]
mov eax, dword [edi*4 + 0x7c54f0]
lea ecx, [eax + 0xc]
call fcn.004f0050
fsub dword [esp + 0x30]
fld dword [0x5ea3fc]
fld dword [0x59e450]
fmul st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x42b16c
fsubp st(1)
jmp 0x42b185
fld dword [0x59e99c]
fmul st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 5
jp 0x42b183
faddp st(1)
jmp 0x42b185
fstp st(0)
fcom dword [0x59e998]
fnstsw ax
test ah, 0x41
jne 0x42b23f
fadd st(0), st(0)
fld dword [0x59e8d8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42b1b3
fstp st(0)
mov dword [esp + 0x10], 0x41700000
jmp 0x42b1b7
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0042a740
fld dword [esi + 0x4440]
fcomp dword [0x59e43c]
fnstsw ax
test ah, 5
jp 0x42b241
mov eax, dword [edi*4 + 0x7c54f0]
fld dword [eax + 0x3500]
add eax, 0x34f8
fld dword [eax + 4]
fld dword [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 [0x59e7e8]
fnstsw ax
test ah, 5
jp 0x42b241
fld qword [0x8afea0]
fild dword [esp + 0x14]
fadd dword [0x59e7ec]
fmul dword [0x59e8c8]
fadd dword [0x8acf94]
fcompp
fnstsw ax
test ah, 0x41
jne 0x42b241
mov dword [esi + 0x4434], ebp
jmp 0x42b241
fstp st(0)
cmp edi, dword [0x5c329c]
jne 0x42b255
push 0x42440000
mov ecx, esi
call fcn.0042a740
fld dword [esi + 0x4434]
fcomp dword [0x59e824]
fnstsw ax
test ah, 0x41
jne 0x42b272
mov dword [esi + 0x4434], 0x3f666666
mov ecx, dword [0x7c56a8]
cmp ecx, 1
je 0x42b2a5
cmp ecx, 3
jne 0x42b87c
fld qword [0x8afea0]
fld dword [0x8acf94]
fadd dword [0x59e468]
fcompp
fnstsw ax
test ah, 0x41
jp 0x42b87c
mov eax, dword [esi + 0x3aa8]
cmp eax, ebp
je 0x42b42a
cmp dword [eax + 0x12c], ebp
je 0x42b42a
cmp ecx, 1
jne 0x42b87c
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.004effd0
test al, al
je 0x42b87c
fld dword [esi + 0x39a0]
fld dword [esi + 0x39a8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x42b87c
fld qword [0x8afea0]
fst dword [esp + 0x14]
fsub dword [esi + 0x4460]
fabs
fcomp dword [0x59e5fc]
fnstsw ax
test ah, 0x41
jne 0x42b87c
fild dword [0x7cec30]
fsub dword [0x59e468]
fld dword [0x59e8ec]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42b33d
fstp st(0)
mov dword [esp + 0x10], 0x41a00000
jmp 0x42b341
fstp dword [esp + 0x10]
fild dword [esi + 4]
fmul dword [0x59e994]
fld dword [esp + 0x10]
call fcn.0058957a
fld dword [0x59e43c]
fadd st(1)
fld dword [esi + 0x4448]
fmul dword [0x59e8ec]
faddp st(1)
fadd dword [0x8acf90]
fld dword [esp + 0x14]
fcompp
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x42b419
push 1
mov ecx, esi
call fcn.00429fd0
push eax
mov ecx, edi
call fcn.004f1a60
fld dword [esi + 0x45e8]
fmul dword [0x59e8a4]
fadd dword [esi + 0x3984]
fld dword [esi + 0x3988]
fld st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x42b3be
fstp st(0)
fld dword [esi + 0x3988]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004f1890
push ebp
mov ecx, edi
call fcn.004efa40
fld qword [0x8afea0]
mov dword [esi + 0x4354], ebp
mov dword [esi + 0x4358], ebp
fstp dword [esi + 0x4460]
mov dword [esi + 0x4510], 5
mov dword [esi + 0x4550], 1
fld dword [0x8acfb4]
pop edi
fstp dword [esi + 0x4538]
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
pop edi
mov dword [esi + 0x442c], ebp
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov ecx, dword [esi]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, 0x8acee0
call fcn.004d10e0
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x38]
lea ecx, [esi + 0xc]
push eax
call fcn.004efb20
fld dword [esp + 0x4c]
fsub dword [esp + 0x34]
push ecx
mov ecx, esi
fstp dword [esp + 0x28]
fld dword [esp + 0x54]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x58]
fsub dword [esp + 0x40]
fst dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fst dword [esp + 0x34]
fmul dword [0x59e8c8]
fadd dword [0x59e478]
fstp dword [esp]
call fcn.0042a740
mov al, byte [0x7cec18]
test al, al
je 0x42b6e0
mov ecx, dword [0x5c329c]
lea eax, [ecx + 2]
cmp eax, 0x68
mov dword [esp + 0x10], 0x7f7fffff
mov ebx, 0x68
jg 0x42b4d9
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x42b6e0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, 0x5ea2c0
call fcn.00403cd0
fld dword [esp + 0x18]
fsub dword [esp + 0x34]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x42b54d
fstp dword [esp + 0x10]
mov ebp, edi
jmp 0x42b54f
fstp st(0)
inc edi
cmp edi, ebx
jl 0x42b4e3
fld dword [esp + 0x10]
fcomp dword [0x59e990]
fnstsw ax
test ah, 5
jp 0x42b6e0
fld dword [esp + 0x10]
fsub dword [0x59e8ec]
fld dword [0x59e6a4]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42b58e
fstp st(0)
mov dword [esp + 0x14], 0x420c0000
jmp 0x42b592
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0042a740
fld dword [esp + 0x10]
fcomp dword [0x59e6a4]
fnstsw ax
test ah, 5
jp 0x42b6e0
cmp ebp, 2
jge 0x42b5bc
xor eax, eax
jmp 0x42b5bf
lea eax, [ebp - 2]
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, 0x5ea2c0
call fcn.00403cd0
cmp ebp, 1
mov eax, 1
jl 0x42b5e4
lea eax, [ebp - 1]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x5ea2c0
call fcn.00403cd0
fld dword [esp + 0x18]
fadd dword [esp + 0x40]
fld dword [esp + 0x1c]
fadd dword [esp + 0x44]
fld dword [esp + 0x20]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fxch st(1)
fmul dword [0x59e450]
fstp dword [esp + 0x18]
fmul dword [0x59e450]
fld dword [esp + 0x48]
fmul dword [0x59e450]
fld dword [esp + 0x18]
fsub dword [esp + 0x34]
fstp dword [esp + 0x18]
fxch st(1)
fsub dword [esp + 0x38]
fstp dword [esp + 0x1c]
fsub dword [esp + 0x3c]
fld st(0)
fmul dword [esi + 0x34d4]
fld dword [esp + 0x1c]
fmul dword [esi + 0x34c8]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esi + 0x34bc]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x34dc]
fld dword [esp + 0x1c]
fmul dword [esi + 0x34d0]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esi + 0x34c4]
faddp st(1)
fxch st(1)
fchs
fxch st(1)
fchs
fpatan
fdiv dword [esi + 0x44b4]
fstp dword [esi + 0x442c]
fld dword [esi + 0x442c]
fcomp dword [0x59e670]
fnstsw ax
test ah, 5
jp 0x42b6c3
mov dword [esi + 0x442c], 0xbf800000
jmp 0x42b6e0
fld dword [esi + 0x442c]
fcomp dword [0x59e43c]
fnstsw ax
test ah, 0x41
jne 0x42b6e0
mov dword [esi + 0x442c], 0x3f800000
fld dword [esp + 0x30]
fcomp dword [0x59e86c]
fnstsw ax
test ah, 5
jp 0x42b87c
lea edx, [esp + 0x58]
lea ecx, [esp + 0x7c]
call fcn.00566e40
fld dword [esp + 0x5c]
fmul dword [0x59e440]
fld dword [esp + 0x60]
fmul dword [0x59e670]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [0x59e440]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [0x59e440]
fld dword [esp + 0x68]
fmul dword [0x59e440]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [0x59e670]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [0x59e440]
fld dword [esp + 0x74]
fmul dword [0x59e440]
faddp st(1)
fld dword [esp + 0x78]
fmul dword [0x59e670]
faddp st(1)
fmul dword [esp + 0x2c]
fxch st(1)
fmul dword [esp + 0x28]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x24]
faddp st(1)
fcom dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x42b7cc
lea edi, [esi + 0xc]
fstp st(0)
mov ecx, edi
call fcn.004f2320
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.004ef7c0
mov byte [esi + 0x45f4], 0
cmp dword [0x7c56a8], 1
jne 0x42b87c
mov ecx, edi
call fcn.004efac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
fcomp dword [0x59e8d8]
fnstsw ax
test ah, 5
jp 0x42b87c
fld dword [esp + 0x2c]
fmul dword [esi + 0x34d4]
fld dword [esp + 0x28]
fmul dword [esi + 0x34c8]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esi + 0x34bc]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esi + 0x34dc]
fld dword [esp + 0x28]
fmul dword [esi + 0x34d0]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esi + 0x34c4]
faddp st(1)
fxch st(1)
fchs
fxch st(1)
fchs
fpatan
fdiv dword [esi + 0x44b4]
fstp dword [esi + 0x442c]
fld dword [esi + 0x442c]
fcomp dword [0x59e670]
fnstsw ax
test ah, 5
jp 0x42b85f
pop edi
mov dword [esi + 0x442c], 0xbf800000
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
fld dword [esi + 0x442c]
fcomp dword [0x59e43c]
fnstsw ax
test ah, 0x41
jne 0x42b87c
mov dword [esi + 0x442c], 0x3f800000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret