Function at 0x74864290
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 0x74864373
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.74867ea0
add esp, 8
movzx edx, al
test edx, edx
jne 0x748642f6
jmp 0x74864367
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x74864300
jmp 0x74864367
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.74867d10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x74864324
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x7486433b
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.74867dd0
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 0x74864367
cmp dword [ebp - 0x14], 3
jge 0x74864367
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 0x748642d4
mov edx, dword [ebp + 8]
push edx
call fcn.74867ff0
add esp, 4
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jle 0x748643a2
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 0x748643b0
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 0x748643e5
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 0x748643f3
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 0x74864428
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 0x74864436
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
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 0x7486446b
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 0x74864479
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
mov word [ebp - 0xc], ax
mov word [ebp - 0xc], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0x18], esp
and esp, 0xfffffff0
push 0x33
call fcn.748644fc