Function at 0x10018c2d
Capabilities:
Print debug messages

Disassembly:
push 0xa0
mov eax, 0x10084b29
call fcn.10063fad
mov ebx, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x8c], 0
push 0x318
call fcn.1006e5b5
pop ecx
mov dword [ebp - 0xa8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10018c6c
mov ecx, eax
call fcn.1007b0e6
mov esi, eax
jmp 0x10018c6e
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x10018c7d
xor eax, eax
jmp 0x10018f40
mov eax, dword [ebx + 4]
imul edi, edi, 0x38
mov eax, dword [edi + eax + 0x1c]
mov ecx, esi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], eax
call fcn.1007b15c
test eax, eax
js 0x10018f26
push 0x20
push dword [ebp - 0xac]
mov ecx, esi
call fcn.1006e5b5
test eax, eax
js 0x10018f26
lea eax, [ebp - 0xa4]
push eax
push esi
call fcn.10041a84
test eax, eax
jns 0x10018cda
mov ecx, esi
call fcn.1007b102
push esi
call fcn.1006e5b5
pop ecx
jmp 0x10018c76
cmp dword [ebp - 0xa4], 0
mov eax, 0x100018f4
jne 0x10018ced
mov eax, 0x10001904
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x428
call fcn.1006e5b5
pop ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10018d22
push esi
mov ecx, eax
call fcn.1006e5b5
mov edi, eax
mov dword [ebp - 0x94], eax
jmp 0x10018d2a
xor edi, edi
mov dword [ebp - 0x94], edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10018cca
push 0x20
push 0x10001914
mov ecx, edi
call fcn.1006e5b5
test eax, eax
js 0x10018f12
push 0
push 0
mov ecx, edi
call fcn.1006e5b5
and dword [ebp - 0x98], 0
and dword [ebp - 0x9c], 0
lea eax, [ebp - 0x98]
push eax
push 2
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
call fcn.1006e5b5
and dword [ebp - 0xa0], 0
xor eax, eax
cmp ax, word [ebp - 0x9c]
jae 0x10018f12
lea eax, [ebp - 0x98]
push eax
push 0x78
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.1006e5b5
cmp dword [ebp - 0x98], 0x78
jne 0x10018c76
xor edi, edi
cmp dword [ebx + 0x1c], edi
jle 0x10018ef0
xor eax, eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + eax + 0x1c]
test edx, edx
je 0x10018e0e
cmp dword [ecx + eax + 4], 0
jne 0x10018e0e
push edx
push dword [ebp - 0xac]
call fcn.1006e5b5
pop ecx
pop ecx
test eax, eax
jne 0x10018e08
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x90]
push dword [eax + ecx + 0x24]
lea eax, [ebp - 0x88]
push eax
call fcn.1006e5b5
pop ecx
pop ecx
test eax, eax
je 0x10018e22
mov eax, dword [ebp - 0x90]
inc edi
add eax, 0x38
mov dword [ebp - 0x90], eax
cmp edi, dword [ebx + 0x1c]
jl 0x10018dc5
jmp 0x10018ef0
mov eax, dword [ebx + 4]
imul edi, edi, 0x38
mov ecx, dword [eax + edi + 0x14]
cmp dword [ebp - 0x20], ecx
jne 0x10018ee8
push dword [ebp - 0xa4]
push dword [eax + edi + 0x18]
push dword [ebp - 0x1c]
call fcn.1006e5b5
test eax, eax
je 0x10018ee8
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x10018ea9
push 0x2c
call fcn.1006e5b5
mov edx, eax
pop ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 2
test edx, edx
je 0x10018e92
mov ecx, dword [ebx + 4]
movzx eax, word [ecx + edi + 0x28]
push ebx
push eax
push dword [ecx + edi]
mov ecx, edx
call fcn.100194f8
mov ecx, eax
mov dword [ebp - 0x8c], eax
jmp 0x10018e9a
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [eax + edi + 4], ecx
test ecx, ecx
je 0x10018ef0
mov eax, dword [ebx + 4]
xor edx, edx
inc edx
mov dword [eax + edi + 8], edx
mov eax, dword [ebx + 4]
mov dword [eax + edi + 4], ecx
mov eax, dword [ebx + 4]
mov dword [eax + edi + 0xc], edx
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + edi + 0x18], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x24]
mov dword [ecx + edi + 0x10], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x14]
mov dword [ecx + edi + 0x2c], eax
jmp 0x10018ef0
mov eax, dword [ebx + 4]
and dword [eax + edi + 8], 0
mov ecx, dword [ebp - 0xa0]
movzx eax, word [ebp - 0x9c]
mov edi, dword [ebp - 0x94]
inc ecx
mov dword [ebp - 0xa0], ecx
cmp ecx, eax
jl 0x10018d8e
mov ecx, edi
call fcn.1007a881
push edi
call fcn.1006e5b5
mov edi, dword [ebp - 0xa8]
pop ecx
mov ecx, esi
call fcn.1007b102
push esi
call fcn.1006e5b5
pop ecx
mov ecx, dword [ebx + 4]
xor eax, eax
cmp dword [ecx + edi + 4], eax
setne al
call fcn.10064030
ret 4