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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x461c4000
mov dword [esp + 0x24], 0xc61c4000
mov dword [esp + 0x28], 0x461c4000
mov dword [esp + 0x2c], 0xc61c4000
call fcn.0043e340
mov ebp, dword [eax]
xor eax, eax
mov dword [esp + 0x34], 0
cmp dword [ebp + 8], 4
setne al
dec eax
and eax, ebp
mov dword [esp + 0x30], eax
je 0x42ff1c
mov eax, dword [eax + 0x88]
test eax, eax
je 0x42ff16
mov eax, dword [eax + 4]
jmp 0x42ff18
xor eax, eax
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x10]
push 1
call fcn.0043e340
mov eax, dword [eax]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jle 0x430237
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0x40], ebx
mov ecx, dword [ebx - 8]
mov dword [esp + 0x38], 0
test ecx, ecx
mov dword [esp + 0x44], ecx
jle 0x430206
mov edx, dword [ebp]
lea eax, [esp + 0x38]
push eax
push ebx
mov ecx, ebp
call dword [edx + 0xc]
mov edx, dword [ebp]
mov edi, eax
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x430078
fild dword [esp + 0x4c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42ff9d
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x42ffb0
fstp dword [esp + 0x28]
jmp 0x42ffb2
fstp st(0)
fild dword [esp + 0x54]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42ffc7
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x42ffda
fstp dword [esp + 0x28]
jmp 0x42ffdc
fstp st(0)
fild dword [esp + 0x48]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
fadd dword [esp + 0x14]
fild dword [esp + 0x50]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x430015
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x430028
fstp dword [esp + 0x20]
jmp 0x43002a
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x430041
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x430058
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
jmp 0x4301bd
mov ecx, dword [esp + 0x30]
push edi
call fcn.00435cf0
lea ecx, [esp + 0x12]
lea edx, [esp + 0x10]
mov ebx, eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ebx
call fcn.00435cc0
movsx eax, word [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
sub edx, eax
sub ecx, eax
movsx eax, word [esp + 0x12]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
fild dword [esp + 0x48]
fld dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
fcomp st(1)
sub edx, eax
sub ecx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
fnstsw ax
test ah, 0x41
jne 0x4300df
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4300f2
fstp dword [esp + 0x20]
jmp 0x4300f4
fstp st(0)
fild dword [esp + 0x50]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x430109
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x43011c
fstp dword [esp + 0x20]
jmp 0x43011e
fstp st(0)
fild dword [esp + 0x4c]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
fadd dword [esp + 0x14]
fild dword [esp + 0x54]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x430157
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x43016a
fstp dword [esp + 0x28]
jmp 0x43016c
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x430183
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fld dword [esp + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x43019a
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00435cb0
movsx edx, ax
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x40]
fild dword [esp + 0x2c]
fmul dword [esp + 0x18]
fmul dword [0x512a58]
fadd dword [esp + 0x14]
cmp edi, 0x20
fstp dword [esp + 0x14]
jne 0x4301de
mov ecx, dword [esi + 0x10]
push 3
call fcn.0043e340
fld dword [eax]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push 2
call fcn.0043e340
fld dword [eax]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
fadd dword [esp + 0x14]
cmp ecx, eax
fstp dword [esp + 0x14]
jl 0x42ff5e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x38]
cmp ecx, 1
jle 0x43022a
cmp eax, ecx
jge 0x43022a
mov edx, dword [esi + 0x40]
fld dword [esp + 0x18]
fmul dword [edx + eax*4]
fmul dword [0x512a58]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x42ff3d
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x74]
je 0x430281
test eax, eax
je 0x43024d
mov dword [eax], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x43025b
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [0x512a58]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fmul dword [0x512a58]
fstp dword [esp + 0x20]
jmp 0x4302c1
test eax, eax
je 0x43028f
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fstp dword [eax]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x43029d
mov dword [eax], 0
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fmul dword [0x512a58]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fmul dword [0x512a58]
fstp dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
push 4
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
call fcn.0043e340
push eax
lea ecx, [esp + 0x5c]
call fcn.0042e6c0
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
lea ebx, [esi + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
lea ebp, [esi + 0x20]
lea eax, [esi + 0x28]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x24]
lea edi, [esi + 0x24]
push eax
mov dword [ebp], edx
mov edx, dword [esp + 0x2c]
push edi
mov dword [eax], ecx
push ebp
push ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x84], eax
mov dword [edi], edx
call fcn.0042e780
fld dword [edi]
fadd qword [0x5155f0]
mov ecx, dword [esi + 0x10]
push 5
fstp dword [edi]
call fcn.0043e340
mov eax, dword [eax]
cmp eax, 1
je 0x430376
cmp eax, 2
je 0x430376
cmp eax, 5
je 0x430376
cmp eax, 6
jne 0x4303aa
mov esi, dword [esi + 0x14]
push 4
mov ecx, esi
call fcn.0043e340
fld dword [eax]
fmul dword [0x512a54]
fld dword [ebx]
mov eax, dword [esp + 0x74]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [ebp]
fstp dword [ebp]
fld st(0)
fadd dword [edi]
fstp dword [edi]
fld dword [eax]
fsub st(1)
fstp dword [eax]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc