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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10195518
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1010c2e0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], edx
jne 0x1010c3b9
test edx, edx
je 0x1010c6d5
lea eax, [ebp + 0x1c]
mov ecx, eax
test ecx, ecx
mov dword [ebp + 4], eax
je 0x1010c414
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
push 0x33
call 0x1010c3d2
add dword [esp], 5
retf
mov eax, dword [ebp + 0x58]
cdq
mov ecx, edx
mov edx, dword [ebp - 0x10]
add eax, ebx
lea esi, [ebp - 0x14c]
adc ecx, edx
test esi, esi
mov dword [ebp + 4], esi
je 0x1010c485
test eax, eax
jne 0x1010c436
test ecx, ecx
je 0x1010c485
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
push 0x33
call 0x1010c443
add dword [esp], 5
retf
mov ecx, dword [ebp - 0xc4]
xor eax, eax
test ecx, ecx
je 0x1010c6d7
add ecx, ebx
adc eax, edx
lea edx, [ebp - 0x3c]
test edx, edx
mov dword [ebp + 4], edx
je 0x1010c4fa
test ecx, ecx
jne 0x1010c4ab
test eax, eax
je 0x1010c4fa
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
push 0x33
call 0x1010c4b8
add dword [esp], 5
retf
mov eax, dword [ebp - 0x28]
lea ecx, [eax*4]
push ecx
call fcn.1012de1c
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x1010c6d5
lea edx, [ebp + 0x10]
mov dword [ebp], edx
mov byte [ebp + 4], 1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
lea ecx, [eax*4]
xor eax, eax
push ecx
mov ecx, dword [ebp + 0x10]
add edx, ebx
adc eax, edi
push eax
push edx
push ecx
call fcn.1010bea0
mov edx, dword [ebp - 0x28]
lea eax, [edx + edx]
push eax
call fcn.1012de1c
add esp, 0x14
cmp eax, esi
mov dword [ebp + 0x18], eax
je 0x1010c5ae
lea ecx, [ebp + 0x18]
mov dword [ebp + 8], ecx
mov byte [ebp + 0xc], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea eax, [edx + edx]
push eax
mov eax, dword [ebp + 0x18]
xor edx, edx
add ecx, ebx
adc edx, edi
push edx
push ecx
push eax
call fcn.1010bea0
mov ecx, dword [ebp - 0x24]
lea edx, [ecx*4]
push edx
call fcn.1012de1c
add esp, 0x14
cmp eax, esi
mov dword [ebp + 0x14], eax
jne 0x1010c5c2
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1010bd10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.1010bd10
jmp 0x1010c6d5
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
lea edx, [ecx*4]
xor ecx, ecx
add eax, ebx
push edx
mov edx, dword [ebp + 0x14]
adc ecx, edi
push ecx
push eax
push edx
call fcn.1010bea0
mov al, 0x65
mov dl, 0x64
mov cl, 0x72
mov byte [ebp + 0x60], al
mov byte [ebp + 0x66], al
mov byte [ebp + 0x6a], al
mov byte [ebp + 0x6f], al
mov al, 0x73
add esp, 0x10
cmp dword [ebp - 0x28], 0
mov byte [ebp + 0x5c], 0x4c
mov byte [ebp + 0x5d], dl
mov byte [ebp + 0x5e], cl
mov byte [ebp + 0x5f], 0x47
mov byte [ebp + 0x61], 0x74
mov byte [ebp + 0x62], 0x50
mov byte [ebp + 0x63], cl
mov byte [ebp + 0x64], 0x6f
mov byte [ebp + 0x65], 0x63
mov byte [ebp + 0x67], dl
mov byte [ebp + 0x68], 0x75
mov byte [ebp + 0x69], cl
mov byte [ebp + 0x6b], 0x41
mov byte [ebp + 0x6c], dl
mov byte [ebp + 0x6d], dl
mov byte [ebp + 0x6e], cl
mov byte [ebp + 0x70], al
mov byte [ebp + 0x71], al
mov byte [ebp + 0x72], 0
jbe 0x1010c688
mov edi, edi
lea eax, [ebp + 0x5c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1010c656
sub eax, edx
push eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
xor edx, edx
add ecx, ebx
adc edx, edi
push edx
push ecx
lea eax, [ebp + 0x5c]
push eax
call fcn.1010bf20
add esp, 0x10
test al, al
jne 0x1010c6f8
add esi, 1
cmp esi, dword [ebp - 0x28]
jb 0x1010c650
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1010c6a3
push eax
call fcn.1012dedf
add esp, 4
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1010c6be
push eax
call fcn.1012dedf
add esp, 4
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1010c6d5
push eax
call fcn.1012dedf
add esp, 4
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.1012e3ba
add ebp, 0x78
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
movzx edx, word [ecx + esi*2]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + edx*4]
xor edi, edi
add esi, ebx
adc edi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1010bd10
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1010bd10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.1010bd10
mov eax, esi
mov edx, edi
jmp 0x1010c6d9