Function at 0x460d2e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x34], ecx
push 0x10
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004fa910
add esp, 0xc
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x10], 1
je 0x460d86
mov ecx, dword [ebp - 0x34]
call fcn.00469109
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x10], 0x18
jne 0x460d72
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00469e26
jmp 0x460d7c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
call fcn.00463689
mov eax, 1
jmp 0x460f33
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
add edx, 7
sar edx, 3
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 0xc]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
add eax, 7
sar eax, 3
mov word [ebp - 0x30], ax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + 8]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 8]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
and eax, 0xffff
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
sub edx, 1
mov eax, dword [ebp - 0x30]
and eax, 0xffff
imul edx, eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
add edx, 7
sar edx, 3
mov eax, dword [ebp - 0x34]
imul edx, dword [eax + 8]
push edx
push 2
call dword [fcn.0053c3b8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x460e26
call fcn.00428561
xor eax, eax
jmp 0x460f33
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call dword [fcn.0053c3bc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [fcn.0053c3bc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 8], 0
je 0x460e4f
cmp dword [ebp - 0x28], 0
jne 0x460e83
cmp dword [ebp - 8], 0
je 0x460e62
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call dword [fcn.0053c3b0]
cmp dword [ebp - 0x28], 0
je 0x460e72
mov eax, dword [ebp - 0xc]
push eax
call dword [fcn.0053c3b0]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [fcn.0053c3b4]
xor eax, eax
jmp 0x460f33
pushaw
xor ecx, ecx
xor edx, edx
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 8]
add edi, dword [ebp - 0x10]
mov cx, 8
cmp word [ebp - 0x18], cx
ja 0x460ea0
mov cx, word [ebp - 0x18]
sub word [ebp - 0x18], cx
push esi
mov bx, word [ebp - 0x1c]
mov dx, 8
cmp bx, dx
ja 0x460eb5
mov dx, bx
sub bx, dx
xor al, al
mov ah, byte [esi]
rcr ah, cl
rcl al, 1
add esi, dword [ebp - 4]
dec dx
jne 0x460eba
stosb byte es:[edi], al
cmp bx, 0
jne 0x460ea9
sub edi, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x2c]
dec cl
pop esi
jne 0x460ea4
inc esi
cmp word [ebp - 0x18], 0
jne 0x460e92
popaw
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
call dword [fcn.0053c3b0]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [fcn.0053c3b0]
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
call dword [fcn.0053c3b4]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4