Function at 0x3001dcd6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x3001dcf3
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x3001dd0a
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x2c
cmp dword [ebp - 0x10], edx
je 0x3001de17
mov eax, dword [ebp - 0x10]
sub eax, 0x284
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x270]
and ecx, 1
test ecx, ecx
jne 0x3001dd6a
jmp 0x3001dd36
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x26c]
push ecx
call fcn.30022021
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x270]
and eax, 8
test eax, eax
je 0x3001ddb4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x54]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x270]
and ecx, 4
test ecx, ecx
je 0x3001ddd0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x5c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x270]
and edx, 2
test edx, edx
je 0x3001dd36
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x27c], 0
je 0x3001dd36
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x27c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x280]
mov dword [ebp - 4], ecx
jmp 0x3001dd36
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3c], 0
je 0x3001de3a
push 0x30001c70
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x6c
mov eax, dword [ebp + 0xc]
add edx, dword [eax + 0x3c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x80]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 4]
shl edx, 4
mov eax, dword [ebp + 0xc]
add edx, dword [eax + 0x5c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x5c], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x68]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x68], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8