Function at 0x300400bd
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
cmp dword [ebp + 0x10], 0
jne 0x300400dc
push 0x300064f0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x300400f3
push 0x300064f0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0x10]
add eax, 0x64
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x64], eax
jne 0x30040108
xor eax, eax
jmp 0x3004039f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 0x14], 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x48]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x18
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x4c]
add eax, 7
and eax, 0xfffffff8
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 4], ecx
push 0x18
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x60]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3003f151
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x30040185
mov eax, dword [ebp - 0x48]
jmp 0x3004039f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x64
cmp dword [ebp - 0x1c], edx
je 0x3004039d
mov eax, dword [ebp + 8]
push eax
call fcn.30044475
test eax, eax
je 0x300401b4
mov eax, 0x800704c7
jmp 0x3004039f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x24
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x4c]
xor edx, edx
push edx
push ecx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x3004021c
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0x3000661c
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 4]
call edx
add esp, 0x14
mov eax, dword [ebp - 0x48]
jmp 0x3004039f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x64]
imul ecx, dword [edx + 0x18]
add ecx, dword [ebp - 0x4c]
lea edx, [ecx + eax + 0x20]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 7
and ecx, 0xfffffff8
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x24], edx
push 0x20
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x300402d7
mov ecx, dword [ebp - 0x48]
push ecx
push 0x20
push 0x300065e0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 4]
call ecx
add esp, 0x14
mov eax, dword [ebp - 0x48]
jmp 0x3004039f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x30040331
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
push eax
push 0x300065a8
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
add esp, 0x14
mov eax, dword [ebp - 0x48]
jmp 0x3004039f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x64]
imul eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x3004018e
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + 0x64]
imul ecx, dword [eax + 0x18]
push ecx
push 0x3000656c
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 4]
call ecx
add esp, 0x14
mov eax, dword [ebp - 0x48]
jmp 0x3004039f
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc