Function at 0x30043dcf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3005fdd0
push 0x3005fbc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffec8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0x10], 0
jne 0x30043e16
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp + 0x14]
or eax, dword [ebp + 0x18]
jne 0x30043e2f
push 0x30006498
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x288
mov ecx, dword [ebp + 8]
push ecx
call fcn.30042aa4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x30043e50
mov eax, 0x8007000e
jmp 0x30044405
mov edx, dword [ebp - 0x34]
add edx, 0x1c
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x30043ebe
mov ecx, 0xd
xor eax, eax
mov edi, dword [ebp - 0x34]
add edi, 0x1c
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x30006ef0
push 8
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
call dword [edx + 4]
add esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
push 0x105
mov ecx, dword [ebp - 0x34]
add ecx, 0x68
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
call dword [edx + 0x2c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x30043fa5
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x14
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x10
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
call dword [edx + 0x34]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x30043f90
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.30042b16
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.30042afa
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x30006ea8
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
call dword [edx + 4]
add esp, 0x1c
mov eax, dword [ebp - 0x38]
jmp 0x30044405
push 0x105
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x68
push ecx
call fcn.30046b94
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0x80
je 0x30043fc9
mov ecx, dword [ebp - 0x34]
add ecx, 0x68
push ecx
call fcn.30043ada
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x274], eax
jmp 0x30043fd8
mov eax, dword [ebp - 0x34]
add eax, 0x68
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x274], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x278], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x5c], 0
cmp dword [ebp - 0x1c], 0
je 0x300441ea
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.30049124
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x30044091
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.30042b16
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.30042afa
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x30006e60
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
call dword [eax + 4]
add esp, 0x1c
push 0x482
call fcn.3003f484
jmp 0x30044405
mov dword [ebp - 4], 0
movzx ecx, word [ebp - 0x13c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xf0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xe8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0x18], ecx
cmp dword [ebp - 0xbc], 9
jbe 0x300440db
cmp dword [ebp - 0x6c], 0
jbe 0x300440db
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x278]
and ecx, 8
je 0x3004410f
mov edx, dword [ebp - 0x34]
add edx, 0x54
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x50
push eax
push 0x2800
push 2
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.30042e70
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x278]
and edx, 4
je 0x30044143
mov eax, dword [ebp - 0x34]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x58
push ecx
push 0x2800
push 4
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.30042e70
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x3004417f
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
call dword [edx + 0x30]
cmp dword [ebp - 0x38], 0
je 0x300443dc
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.30042b16
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.30042afa
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x30006e18
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
call dword [edx + 4]
add esp, 0x1c
mov eax, dword [ebp - 0x38]
jmp 0x30044405
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x278]
and ecx, 8
je 0x300442e4
lea edx, [ebp - 0x144]
push edx
push 0
push 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x3c]
test eax, eax
jne 0x300442e4
cmp dword [ebp - 0x144], 0x2800
ja 0x300442e4
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.30042aa4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x50], 0
je 0x300442e4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x144]
mov dword [ecx + 0x54], edx
mov eax, dword [ebp - 0x34]
add eax, 0x54
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x50]
push edx
push 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x3c]
test eax, eax
je 0x300442e4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.30042afa
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x54], 0
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x278]
and eax, 4
je 0x300443dc
lea ecx, [ebp - 0x144]
push ecx
push 0
push 2
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x68
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
test eax, eax
jne 0x300443dc
cmp dword [ebp - 0x144], 0x2800
ja 0x300443dc
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.30042aa4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0
je 0x300443dc
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x144]
mov dword [ecx + 0x5c], edx
mov eax, dword [ebp - 0x34]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x58]
push edx
push 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x3c]
test eax, eax
je 0x300443dc
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.30042afa
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x5c], 0
cmp dword [ebp - 0x30], 0
je 0x300443fb
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.30043b33
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c