Function at 0x1000a7a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c58b3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jl 0x1000a7e3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xa
jl 0x1000a7ea
xor eax, eax
jmp 0x1000acf6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0xd0]
add ecx, 0x398
call fcn.1001b510
mov ecx, eax
call fcn.1001cac0
movzx edx, al
test edx, edx
jne 0x1000a81e
xor eax, eax
jmp 0x1000acf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x10270470
call fcn.100099b0
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10038f90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.1000b5b0
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0xd0]
call fcn.1000b730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10039910
mov byte [ebp - 4], 2
push 0x10217490
mov eax, dword [ebp + 0x14]
push eax
call fcn.10037c30
add esp, 8
test eax, eax
je 0x1000a8b7
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10018af0
push 0x10217494
push 0x10217498
lea edx, [ebp - 0x5c]
push edx
call fcn.10005ff0
lea ecx, [ebp - 0x5c]
call fcn.100397b0
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0xbc]
call fcn.10004dd0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x10270344
call fcn.10017ba0
push 0
lea ecx, [ebp - 0xbc]
call fcn.100053a0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xcc], 0x400
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd8], 0
jmp 0x1000a919
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xd8], 0xa
jge 0x1000aaaf
mov edx, dword [ebp - 0xcc]
push edx
call fcn.10193815
add esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x1000a954
push str.DebugLog2:_ERROR_malloc_error______n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1000aaaf
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0x44]
call fcn.100397b0
push eax
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100397b0
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x47c
call fcn.100397b0
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
push str.__s____s___s:Level__s:_s
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call fcn.10008ad0
add esp, 0x20
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call fcn.10008b30
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, dword [ebp - 0xc4]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x10270344
call fcn.10017790
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jl 0x1000aa09
jmp 0x1000aaaf
cmp dword [ebp - 0xe0], 0xfffffffe
jne 0x1000aa77
push 5
mov ecx, 0x10270470
call fcn.100099b0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.100397b0
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100397b0
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x47c
call fcn.100397b0
push eax
mov edx, dword [ebp - 0xdc]
push edx
push str.__s____s___s:Level__s:_s_tExceptionCode0x_X._n
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.10008ad0
add esp, 0x24
jmp 0x1000aaaf
cmp dword [ebp - 0xe0], 0
jge 0x1000aaaa
mov edx, dword [ebp - 0xc8]
push edx
call fcn.101938a7
add esp, 4
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xcc]
add eax, 0x400
mov dword [ebp - 0xcc], eax
jmp 0x1000a90a
cmp dword [ebp - 0xd8], 0xa
jne 0x1000ab43
mov dword [ebp - 0xcc], 0x400
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.10193815
add esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x1000ab43
push 5
mov ecx, 0x10270470
call fcn.100099b0
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x44]
call fcn.100397b0
push eax
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100397b0
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x47c
call fcn.100397b0
push eax
mov eax, dword [ebp - 0xdc]
push eax
push str.__s____s___s:Level__s:_s_tMemory_over_10K._n
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call fcn.10008ad0
add esp, 0x20
cmp dword [ebp - 0xc8], 0
je 0x1000ac8f
mov eax, dword [ebp + 0x10]
and eax, 1
je 0x1000ab65
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 0x10]
and edx, 2
je 0x1000ac80
mov dword [ebp - 0xc0], 0
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call fcn.10008b30
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0xc0]
movsx ecx, byte [eax - 1]
cmp ecx, 0xa
je 0x1000abf0
push 0xa
lea edx, [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.1000ad20
push 0xa
lea edx, [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.1000ad20
jmp 0x1000ac12
push 0xa
lea edx, [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.1000ad20
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 2
jne 0x1000ac32
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x10270470
call fcn.1000ad60
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x1000ac5d
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x10270470
call fcn.1000b4b0
jmp 0x1000ac7e
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 1
jne 0x1000ac7e
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, 0x10270470
call fcn.1000b500
jmp 0x1000ac8f
mov edx, dword [ebp - 0xc8]
push edx
call fcn.101938a7
add esp, 4
cmp dword [ebp - 0xc8], 0
je 0x1000aca4
mov dword [ebp - 0xe4], 0
jmp 0x1000acae
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.10004e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100397d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100397d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100397d0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x14