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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10176068
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x101c52b4]
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.100eca60
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], edx
jne 0x100ecb39
test edx, edx
je 0x100ece55
lea eax, [ebp + 0x1c]
mov ecx, eax
test ecx, ecx
mov dword [ebp + 4], eax
je 0x100ecb94
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
push 0x33
call 0x100ecb52
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 0x100ecc05
test eax, eax
jne 0x100ecbb6
test ecx, ecx
je 0x100ecc05
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
push 0x33
call 0x100ecbc3
add dword [esp], 5
retf
mov ecx, dword [ebp - 0xc4]
xor eax, eax
test ecx, ecx
je 0x100ece57
add ecx, ebx
adc eax, edx
lea edx, [ebp - 0x3c]
test edx, edx
mov dword [ebp + 4], edx
je 0x100ecc7a
test ecx, ecx
jne 0x100ecc2b
test eax, eax
je 0x100ecc7a
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
push 0x33
call 0x100ecc38
add dword [esp], 5
retf
mov eax, dword [ebp - 0x28]
lea ecx, [eax*4]
push ecx
call fcn.1010df39
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x100ece55
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.100ec620
mov edx, dword [ebp - 0x28]
lea eax, [edx + edx]
push eax
call fcn.1010df39
add esp, 0x14
cmp eax, esi
mov dword [ebp + 0x18], eax
je 0x100ecd2e
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.100ec620
mov ecx, dword [ebp - 0x24]
lea edx, [ecx*4]
push edx
call fcn.1010df39
add esp, 0x14
cmp eax, esi
mov dword [ebp + 0x14], eax
jne 0x100ecd42
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100ec490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.100ec490
jmp 0x100ece55
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.100ec620
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 0x100ece08
mov edi, edi
lea eax, [ebp + 0x5c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100ecdd6
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.100ec6a0
add esp, 0x10
test al, al
jne 0x100ece78
add esi, 1
cmp esi, dword [ebp - 0x28]
jb 0x100ecdd0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100ece23
push eax
call fcn.1010dffc
add esp, 4
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100ece3e
push eax
call fcn.1010dffc
add esp, 4
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100ece55
push eax
call fcn.1010dffc
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.1010e4d7
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.100ec490
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100ec490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.100ec490
mov eax, esi
mov edx, edi
jmp 0x100ece59