Function at 0x7bf28e
Capabilities:
Packed with generic packer

Disassembly:
pushal
sub esp, 0x60
mov ebp, esp
mov ebx, eax
cmp dword [ebx + 0x64], 9
je 0x7bf587
cmp dword [ebx + 0x28], 4
je 0x7bf587
cmp dword [ebx + 0x28], 5
je 0x7bf587
mov eax, dword [ebx + 0xc8]
add eax, dword [ebx + 0xd0]
add eax, dword [ebx + 0xdc]
je 0x7bf587
mov eax, dword [ebx + 0xcc]
add eax, dword [ebx + 0xd4]
add eax, dword [ebx + 0xe0]
mov dword [ebp + 0x30], 0xa
mov dword [ebp + 0x34], 0x15
cmp dword [ebx + 0x24], 0x18
jne 0x7bf2fa
nop dword [eax]
add dword [ebp + 0x34], 0x14
cmp dword [ebx + 0x24], 0x20
je 0x7bf30e
nop dword [eax]
cmp dword [ebx + 0x24], 0x17
jne 0x7bf312
nop dword [eax]
sub dword [ebp + 0x34], 0x14
fld1
fsub dword [ebx + 0x11c]
mov dword [esp - 0x40], 0x50
fimul dword [esp - 0x40]
fistp dword [esp - 0x40]
mov ecx, dword [esp - 0x40]
add dword [ebp + 0x34], ecx
cmp dword [ebx + 0x24], 0x19
jne 0x7bf345
mov dword [ebp + 0x30], 0x2d0
mov dword [ebp + 0x34], 0x12c
mov edi, dword [0x7bf066]
fld dword [edi + 8]
fiadd dword [ebp + 0x30]
fstp dword [edi + 8]
fld dword [edi + 0xc]
fiadd dword [ebp + 0x34]
fstp dword [edi + 0xc]
mov dword [ebp], eax
mov dword [ebp + 4], 0x50
mov dword [ebp + 8], ebx
fild dword [ebp + 4]
fimul dword [ebx + 0xc8]
fidiv dword [ebp]
fistp dword [ebp + 0x10]
fild dword [ebp + 4]
fimul dword [ebx + 0xd0]
fidiv dword [ebp]
fistp dword [ebp + 0x14]
fild dword [ebp + 4]
fimul dword [ebx + 0xdc]
fidiv dword [ebp]
fistp dword [ebp + 0x18]
push 0x12
push 1
push 0
push 0
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0x255
mov dword [eax + 0x34], 0x255
mov dword [eax + 0x38], 0xff
mov dword [eax + 0x3c], 0x255
call fcn.00586d50
push 1
push 0x52
push 0
push 0
mov eax, dword [0x7bf066]
call fcn.00586d50
push 0x12
push 1
push 0
push 0x51
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0x255
mov dword [eax + 0x34], 0x255
mov dword [eax + 0x38], 0x255
mov dword [eax + 0x3c], 0x255
call fcn.00586d50
push 1
push 0x52
push 0x12
push 0
mov eax, dword [0x7bf066]
call fcn.00586d50
push 0x10
push dword [ebp + 0x10]
push 1
push 1
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0x1f
mov dword [eax + 0x34], 0xff
mov dword [eax + 0x38], 0x9f
mov dword [eax + 0x3c], 0x8f
call fcn.00586d50
push 0x10
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
add dword [esp], 1
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0xff
mov dword [eax + 0x34], 0xff
mov dword [eax + 0x38], 0xff
mov dword [eax + 0x3c], 0x8f
call fcn.00586d50
push 0x10
push dword [ebp + 0x18]
push 1
push dword [ebp + 0x10]
add dword [esp], 1
mov eax, dword [ebp + 0x14]
add dword [esp], eax
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0x6f
mov dword [eax + 0x34], 0x6f
mov dword [eax + 0x38], 0xff
mov dword [eax + 0x3c], 0x8f
call fcn.00586d50
mov eax, dword [ebx + 0xc8]
add eax, dword [ebx + 0xd0]
add eax, dword [ebx + 0xdc]
push eax
push 0x7befb1
mov esi, 0x7befd2
call fcn.005b0ca0
add esp, 8
mov eax, 0x7befd6
mov dword [0x7bf06a], 0x14
cmp dword [ebp], 0x3e8
jl 0x7bf508
sub dword [0x7bf06a], 5
cmp dword [ebp], 0x2710
jl 0x7bf508
sub dword [0x7bf06a], 5
mov dword [0x7bf06e], 0xe
mov dword [0x7bf076], 0x6a7498
mov dword [0x7bf072], eax
call fcn.007bf1e8
mov eax, dword [0x7bf066]
mov dword [eax + 0x30], 0x255
mov dword [eax + 0x34], 0xff
mov dword [eax + 0x38], 0xff
mov dword [eax + 0x3c], 0xff
mov dword [0x72289c], 0xff
mov dword [0x7228a0], 0xff
mov dword [0x7228a4], 0xff
mov dword [0x7228a8], 0xff
mov edi, dword [0x7bf066]
fld dword [edi + 8]
fisub dword [ebp + 0x30]
fstp dword [edi + 8]
fld dword [edi + 0xc]
fisub dword [ebp + 0x34]
fstp dword [edi + 0xc]
add esp, 0x60
popal
ret