Function at 0x46e000
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, eax
mov edi, ecx
push esi
mov eax, edi
call fcn.0046dd30
mov ebx, dword [edi + 0x5c]
cmp ebx, 6
jne 0x46e03c
test esi, esi
je 0x46e03c
mov eax, dword [esi + 0x24]
cmp eax, 0x16
je 0x46e065
cmp eax, 0xc
je 0x46e065
mov eax, dword [esi + 0xd8]
jmp loc.0079a570
cmp ebx, 3
je 0x46e04b
cmp ebx, 5
je 0x46e04b
cmp ebx, 6
jne 0x46e065
cmp ebx, 6
jne 0x46e05b
test esi, esi
je 0x46e05b
mov eax, esi
call fcn.00532b40
push esi
mov eax, edi
call fcn.0046d390
jmp 0x46e080
test esi, esi
je 0x46e080
jmp fcn.007985c0
fld dword [edi + 0x30]
mov ebx, dword [edi + 0x20]
fsub dword [edi + 0x3c]
mov eax, dword [edi + 0x5c]
add ebx, 1
cmp eax, 3
fstp dword [esp + 0x18]
fld dword [edi + 0x38]
fadd dword [edi + 0x34]
fsub dword [edi + 0x40]
fsub dword [edi + 0x44]
fstp dword [esp + 0x1c]
fld dword [edi + 0x30]
fld qword [0x6794c0]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fadd dword [edi + 0x34]
fstp dword [esp + 0x20]
jne 0x46e0fb
fld dword [esp + 0x1c]
mov eax, dword [edi]
fld qword [0x679318]
mov ecx, dword [eax + 0x820]
mov esi, dword [ecx]
fadd st(1), st(0)
push 0
fxch st(1)
push ebx
fstp dword [esp + 0x28]
sub esp, 8
fld dword [esp + 0x30]
fstp dword [esp + 4]
fadd dword [esp + 0x28]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x46e449
cmp eax, 5
jne 0x46e13b
fld dword [esp + 0x1c]
mov edx, dword [edi]
fld qword [0x679318]
mov eax, dword [edx + 0x820]
mov esi, dword [eax]
fadd st(1), st(0)
push 1
fxch st(1)
push ebx
fstp dword [esp + 0x28]
sub esp, 8
fld dword [esp + 0x30]
fstp dword [esp + 4]
fadd dword [esp + 0x28]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x46e449
cmp eax, 0xb
jne 0x46e214
mov ecx, dword [edi + 0x84]
fld dword [edi + 0x34]
fadd qword [0x6794c8]
mov edx, dword [edi]
imul ecx, ecx, 0x2710
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov eax, dword [edx + 0x820]
mov esi, dword [eax]
push 0x44
add ecx, 0x30d42
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x30]
fadd qword [0x679820]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00518a70
fld dword [edi + 0x34]
mov ecx, dword [edi]
fadd qword [0x6794c8]
mov edx, dword [ecx + 0x820]
mov esi, dword [edx]
push 3
fstp dword [esp + 0x24]
push ebx
fld dword [esp + 0x28]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x30]
fadd qword [0x679820]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00518a70
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [0x6a7898]
mov eax, dword [eax + 0xd8]
push edx
call eax
mov eax, dword [edi + 4]
mov dword [eax + 0x5540], 0xc
mov dword [eax + 0x5544], 3
mov dword [eax + 0x5548], 0xfffffffc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0046eb20
test eax, eax
jne 0x46e22e
fld dword [esp + 0x14]
lea ebp, [eax + 0x25]
fsub qword [0x679360]
fstp dword [esp + 0x14]
jmp 0x46e349
cmp eax, 1
jne 0x46e249
fld dword [esp + 0x14]
lea ebp, [eax + 0x2a]
fsub qword [0x679360]
fstp dword [esp + 0x14]
jmp 0x46e349
cmp eax, 6
jne 0x46e2ca
mov ecx, esi
mov eax, edi
call fcn.0046d1f0
test al, al
je 0x46e451
fld dword [edi + 0x34]
mov eax, dword [edi]
fsub qword [0x679338]
push ebx
sub esp, 8
mov ebx, 0x22
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [edi + 0x30]
fadd qword [0x67a288]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.00453c30
fld dword [0x67952c]
fstp dword [eax + 4]
fld dword [0x679638]
fstp dword [eax + 8]
fld dword [0x679928]
fstp dword [eax + 0x24]
fld dword [0x664a5c]
fstp dword [eax + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0046eb20
cmp eax, 7
jne 0x46e2d4
lea ebp, [eax + 0x22]
jmp 0x46e349
cmp eax, 4
jne 0x46e2ec
fld dword [esp + 0x14]
lea ebp, [eax + 0x24]
fsub qword [0x679338]
fstp dword [esp + 0x14]
jmp 0x46e349
cmp eax, 2
jne 0x46e312
fld dword [esp + 0x18]
lea ebp, [eax + 0x25]
fsub qword [0x67a288]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fadd qword [0x6795a0]
fstp dword [esp + 0x20]
jmp 0x46e349
cmp eax, 0xc
jne 0x46e451
test esi, esi
fld dword [esp + 0x18]
fsub qword [0x679338]
lea ebp, [eax + 0x1a]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fadd qword [0x679a28]
fstp dword [esp + 0x20]
je 0x46e42e
mov eax, esi
call fcn.005326d0
test esi, esi
je 0x46e42e
fld dword [esp + 0x14]
mov edx, dword [esi + 8]
fadd qword [0x67a280]
mov eax, dword [esi + 0x28]
cmp eax, 0x3b
mov dword [esp + 0x1c], edx
fisub dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fisub dword [esi + 0xc]
fstp dword [esp + 0x14]
fld qword [0x679708]
je 0x46e388
cmp eax, 0x37
jne 0x46e392
fld dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x14]
mov ecx, dword [edi + 0x58]
cmp ecx, 6
jne 0x46e3ac
fstp st(0)
fld dword [esp + 0x18]
fsub qword [0x679820]
fstp dword [esp + 0x18]
jmp 0x46e3d4
fld dword [edi + 0x30]
add edx, 0x28
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 5
jp 0x46e3d2
cmp ecx, 1
je 0x46e3d2
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x46e3d4
fstp st(0)
fld dword [0x679508]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x46e3eb
fstp st(0)
jmp 0x46e400
fstp st(1)
fcomp qword [0x6792a0]
fnstsw ax
test ah, 1
jne 0x46e404
fld dword [0x679498]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
push ebp
call fcn.006397d0
fld dword [esp + 0x1c]
push eax
call fcn.006397d0
push eax
mov eax, esi
call fcn.005321f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0046eb20
mov ecx, dword [edi]
fld dword [esp + 0x20]
mov edx, dword [ecx + 0x820]
mov esi, dword [edx]
push ebp
push ebx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.00518a70
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0046eb20