Function at 0xbc3520
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
lea eax, [ebp + 4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0
xor ecx, ecx
je 0xbc3603
lea edx, [ebp + 4]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [eax + 0x28]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00bc7130
add esp, 8
movzx edx, al
test edx, edx
jne 0xbc3586
jmp 0xbc35f7
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0xbc3590
jmp 0xbc35f7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00bc6fa0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0xbc35b4
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0xbc35cb
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00bc7060
add esp, 8
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xbc35f7
cmp dword [ebp - 0x14], 3
jge 0xbc35f7
mov ecx, dword [ebp + 8]
imul edx, dword [ecx + 0x28], 0x64
mov eax, dword [ebp - 8]
sub eax, edx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x10]
ja 0xbc3564
mov edx, dword [ebp + 8]
push edx
call fcn.00bc7280
add esp, 4
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jle 0xbc3632
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x1c], edx
jmp 0xbc3640
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 0x10], 0
jle 0xbc3675
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x24], eax
jmp 0xbc3683
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x68], edx
cmp dword [ebp + 0x10], 0
jle 0xbc36b8
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx - 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x2c], ecx
jmp 0xbc36c6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
inc ebp
aam 0
add byte [eax], al
invalid
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0x10], 0
jle 0xbc36fb
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x34], edx
jmp 0xbc3709
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub eax, 8
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x48]
xor edx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], 0
xor eax, eax
invalid
invalid
inc ebp