Function at 0x10001240
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x1008b018]
xor eax, esp
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x18], eax
jne 0x100014b7
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x100012c8
push 0
call fcn.1004f82b
push eax
push 0x10079c24
lea eax, [esp + 0x20]
push str.CONIN_
push eax
call fcn.1004f9b7
push 2
call fcn.1004f82b
push eax
push 0x10079c30
lea eax, [esp + 0x34]
push str.CONOUT_
push eax
call fcn.1004f9b7
push 1
call fcn.1004f82b
push eax
push 0x10079c30
lea eax, [esp + 0x48]
push str.CONOUT_
push eax
call fcn.1004f9b7
add esp, 0x3c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0x14], ecx
cmp ecx, edx
je 0x10001340
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10001340
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
nop dword [eax + eax]
sub ecx, 4
dec edi
mov dword [esp + 8], ecx
mov esi, 0x5f670261
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x10001335
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x10001318
cmp esi, 0x5c6ccb7f
je 0x10001344
mov ecx, dword [esp + 8]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x10001300
mov eax, dword [eax]
jmp 0x100012d4
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push dword [esp + 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, str.disable_render
call fcn.10042bd0
test al, al
mov edx, 0x1007fc70
mov ecx, 0x1007fc68
cmove ecx, edx
push 5
push ecx
mov ecx, 0x71190
call fcn.100423f0
push eax
call fcn.10042540
mov edi, dword [0x1012aff4]
mov esi, dword [0x1012aff0]
cmp esi, edi
je 0x100013b7
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call fcn.10042540
add esi, 0xc
cmp esi, edi
jne 0x100013a3
push 0x1012b028
push 0x5892a0
call fcn.10042770
push 0x1012b028
push 0x5892f9
call fcn.10042770
mov ecx, dword [0x1012b000]
mov eax, dword [0x1012affc]
mov dword [esp + 0x18], ecx
mov dword [esp + 8], eax
cmp eax, ecx
je 0x10001442
nop dword [eax]
mov esi, dword [eax + 8]
mov ecx, 0x1012b02c
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.10049840
mov ecx, 0x1012b02c
mov dword [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.10049840
push eax
mov edx, esi
mov ecx, edi
call fcn.1003a4a0
mov ecx, edi
call fcn.1003aa00
mov eax, dword [esp + 8]
add eax, 0xc
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x18]
jne 0x100013f0
mov eax, dword [0x1012b00c]
mov edx, dword [0x1012b008]
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
cmp edx, eax
je 0x100014b7
nop dword [eax]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
lea edi, [ecx + 1]
mov esi, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
mov dword [esp + 0xc], ecx
add ecx, 5
mov dword [esp + 0x18], eax
add esi, ecx
lea eax, [esp + 0x18]
mov ecx, 0x1012afb8
push eax
call fcn.1003af80
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov eax, dword [esp + 0x14]
sub eax, ecx
sub eax, 5
push eax
push edi
call fcn.1003ae00
mov edx, dword [esp + 8]
add edx, 0xc
mov dword [esp + 8], edx
cmp edx, dword [esp + 0x10]
jne 0x10001460
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.1004a7ae
mov esp, ebp
pop ebp
ret 0xc