Function at 0x30045436
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30062768
push 0x3006251e
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 0x3004547f
push 0x300064f0
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 0x30045498
push 0x300064f0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x348
mov ecx, dword [ebp + 8]
push ecx
call fcn.3004415e
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x300454b9
mov eax, 0x8007000e
jmp 0x30045a82
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]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x3004552f
push 0x34
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x1c
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0x300070a8
push 8
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, 0x1c
lea eax, [ebp - 0x1c]
push eax
push 0x168
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]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x3004561c
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x18
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x24]
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]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x30045607
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.300441da
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.300441ba
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 0x30007060
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, 0x1c
mov eax, dword [ebp - 0x38]
jmp 0x30045a82
push 0x168
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
call fcn.30048122
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 0x80
je 0x30045641
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
call fcn.3004512b
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x338], eax
jmp 0x30045650
mov edx, dword [ebp - 0x34]
add edx, 0x68
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x338], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x33c], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x5c], 0
cmp dword [ebp - 0x1c], 0
je 0x30045863
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.3004b2ac
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x30045706
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.300441da
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.300441ba
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 0x30007018
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, 0x1c
mov eax, 0x80070482
jmp 0x30045a82
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 0x30045750
cmp dword [ebp - 0x6c], 0
jbe 0x30045750
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x33c]
and ecx, 8
je 0x30045784
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.30044563
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x33c]
and edx, 4
je 0x300457b8
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.30044563
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x300457f4
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]
mov eax, dword [edx + 0x30]
call eax
cmp dword [ebp - 0x38], 0
je 0x30045a59
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.300441da
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.300441ba
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 0x30006fd0
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, 0x1c
mov eax, dword [ebp - 0x38]
jmp 0x30045a82
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x33c]
and eax, 8
je 0x3004595d
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]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
jne 0x3004595d
cmp dword [ebp - 0x144], 0x2800
ja 0x3004595d
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3004415e
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x50], 0
je 0x3004595d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x144]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x34]
add edx, 0x54
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x50]
push ecx
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]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
je 0x3004595d
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.300441ba
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x54], 0
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x33c]
and ecx, 4
je 0x30045a59
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
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
jne 0x30045a59
cmp dword [ebp - 0x144], 0x2800
ja 0x30045a59
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.3004415e
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x58], 0
je 0x30045a59
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x144]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0x34]
add edx, 0x5c
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x58]
push ecx
push 4
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]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
je 0x30045a59
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.300441ba
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x5c], 0
cmp dword [ebp - 0x30], 0
je 0x30045a78
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.30045186
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx], eax
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