Function at 0x5c4420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c470c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040e650
test al, al
jne 0x5c4477
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5c4728
call fcn.00407078
mov eax, dword [ebp - 0x10]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
jmp 0x5c46e9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f0]
xor edx, edx
call fcn.005b718c
xor eax, eax
push ebp
push 0x5c44af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x43c]
mov dl, 1
call fcn.004ac3e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c44b9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3ec]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f4]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x404]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f8]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3fc]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3fc]
call fcn.004d8f98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x400]
xor edx, edx
call fcn.004d98b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x400]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44c]
call fcn.004d8f98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44c]
mov dl, 1
call fcn.004d98b8
lea eax, [ebp - 4]
mov edx, 0x5c477c
call fcn.00406cb8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x540]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0040f53c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00406cb8
mov eax, dword [ebp - 8]
cmp byte [eax + 0x54b], 0
je 0x5c45d0
push dword [ebp - 4]
push 0x5c47e0
mov eax, dword [ebp - 8]
push dword [eax + 0x54c]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c0]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x5c45f2
lea eax, [ebp - 4]
mov edx, 0x5c4810
call fcn.00406fb8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x5c463a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x5c462b
lea eax, [ebp - 4]
mov edx, 0x5c4834
call fcn.00406fb8
jmp 0x5c466b
lea eax, [ebp - 4]
mov edx, 0x5c488c
call fcn.00406fb8
jmp 0x5c466b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x5c465e
lea eax, [ebp - 4]
mov edx, 0x5c48c4
call fcn.00406fb8
jmp 0x5c466b
lea eax, [ebp - 4]
mov edx, 0x5c4904
call fcn.00406fb8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x508]
mov eax, dword [eax + 0x64]
mov edx, 0x808080
call fcn.00489db8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x508]
xor edx, edx
mov dword [eax + 0x110], edx
mov dword [eax + 0x114], edx
xor edx, edx
call fcn.004d9bc4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x448]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.005c6b70
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x43c]
xor edx, edx
call fcn.004ac3e8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f0]
mov edx, dword [eax + 0x1b4]
call fcn.005b718c
mov eax, dword [ebp - 8]
call fcn.005c5810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4713
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406c5c
lea eax, [ebp - 4]
call fcn.00406c54
ret