Function at 0x1005c000
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [0x1021abdc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], esi
mov edi, dword [edi + 4]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x78], edi
cmp byte [edi + 1], 0
mov byte [ebp - 0x45], 1
je 0x1005c042
int3
cmp dword [edi + 0x34], 0
jne 0x1005c04f
mov ecx, edi
call fcn.1005baa0
movsx eax, byte [edi + 6]
imul edx, eax, 0xa8
mov dword [ebp - 0x64], edx
mov eax, dword [edx + 0xfff06c]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x90]
push dword [edx + 0xfff06c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
movss xmm0, dword [0x101519fc]
mov eax, dword [esi + 0xb8]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x4c], xmm0
test eax, eax
je 0x1005c0bf
cmp byte [eax + 5], 5
jne 0x1005c0bf
mov eax, dword [esi + 0x90]
movss xmm0, dword [0x10168554]
push 0
push 0x1c
mov ecx, dword [eax]
push eax
movss dword [ebp - 0x4c], xmm0
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
movss xmm1, dword [eax + 0x18]
movss xmm6, dword [eax + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm1
movss xmm3, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x24]
movaps xmm5, xmm3
movaps xmm7, xmm6
movaps xmm4, xmm2
mulss xmm1, xmm0
mulss xmm5, xmm0
movss dword [ebp - 0x58], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm0
movss dword [ebp - 0x54], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm3
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [ebp - 0x5c]
mulss xmm7, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
movaps xmm0, xmm6
addss xmm0, xmm6
movss dword [ebp - 0x50], xmm3
movss xmm3, dword [eax + 0x34]
mulss xmm6, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm6
addss xmm0, dword [ebp - 0x50]
addss xmm6, dword [ebp - 0x58]
subss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
subss xmm5, xmm2
mulss xmm1, xmm3
mulss xmm0, xmm3
mulss xmm1, dword [ebp - 0x4c]
mulss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [ebp - 0x5c]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, xmm4
mulss xmm5, xmm3
addss xmm4, dword [ebp - 0x54]
mulss xmm5, dword [ebp - 0x4c]
mulss xmm0, xmm3
mulss xmm4, xmm3
mulss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x34], xmm5
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, xmm6
movss xmm6, dword [ebp - 0x4c]
mulss xmm4, xmm6
mulss xmm0, xmm3
movss dword [ebp - 0x24], xmm4
mulss xmm0, xmm6
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm7
addss xmm0, dword [ebp - 0x60]
subss xmm7, dword [ebp - 0x60]
mulss xmm0, xmm3
mulss xmm7, xmm3
mulss xmm0, xmm6
mulss xmm7, xmm6
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x20], xmm7
subss xmm1, xmm0
mulss xmm1, xmm3
mulss xmm1, xmm6
movss dword [ebp - 0x1c], xmm1
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0xc], xmm0
mov dword [ebp - 8], 0x3f800000
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
cmp dword [edi + 0x34], 0
je 0x1005c2e6
mov eax, dword [ebx]
lea ecx, [ebp - 0x50]
push ecx
push ebx
call dword [eax + 0x174]
mov eax, dword [ebx]
lea ecx, [ebp - 0x58]
push ecx
push ebx
call dword [eax + 0x1b0]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x170]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x1ac]
mov eax, dword [edi + 0x34]
push 0x20
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], 0
mov dword [esi + 0x9c], 0x20
mov eax, dword [esi + 0x90]
push 0
push dword [edi + 0x34]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [ebx]
push 0x112
push ebx
call dword [eax + 0x164]
mov eax, dword [ebx]
lea ecx, [ebp - 0x44]
push ecx
push 0x100
push ebx
call dword [eax + 0xb0]
jmp 0x1005c35d
mov edx, dword [ebp - 0x64]
mov ecx, dword [edi + 0x1c]
push 0x20
mov byte [ebp - 0x45], 0
sub ecx, dword [edx + 0xfff050]
mov eax, dword [edx + 0xfff068]
push ecx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0x9c], 0x20
push dword [edx + 0xfff068]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x190]
mov eax, dword [esi + 0xc4]
movsx ecx, byte [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x1005c35d
pushal
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
call dword [0x10148b50]
add esp, 0xc
popal
mov ebx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov ecx, dword [esi + 0x90]
movzx eax, word [edi + 4]
mov esi, dword [ebp - 0x64]
push eax
mov eax, dword [edi + 0xc]
mov edx, dword [ecx]
sub eax, dword [esi + 0xfff058]
sar eax, 1
push eax
movzx eax, word [edi + 2]
push eax
push 0
push 0
push 4
push ecx
call dword [edx + 0x148]
cmp byte [ebp - 0x45], 0
je 0x1005c3be
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1005c3a2
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x170]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1005c3b3
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x1ac]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x164]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret