Function at 0x4109f8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e268
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x462700]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov eax, dword [0x462700]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
je 0x410cdb
lea esi, [esp + 0x1c]
call fcn.00410387
lea eax, [esp + 0x24]
push eax
call fcn.00404d15
and dword [esp + 0x120], 0
push 1
mov edx, edi
call fcn.0040a48d
push dword [esp + 0xc]
lea esi, [esp + 0xdc]
mov edi, eax
call fcn.0040ede5
mov byte [esp + 0x120], 1
xor esi, esi
cmp edi, esi
jle 0x410ae4
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x18]
call fcn.004096b5
mov byte [esp + 0x120], 2
mov esi, eax
lea edi, [esp + 0xd8]
call fcn.0040721d
mov byte [esp + 0x120], 1
push 0
push 1
lea ecx, [esp + 0xc4]
call fcn.00407e53
xor esi, esi
mov eax, dword [esp + 0x1c]
sub eax, dword [ebx + 0xd0]
push str.__:
push ecx
push 0x456aa8
push ecx
push dword [esp + 0x20]
push ecx
push 0x456aac
push ecx
push 0x456ab0
push ecx
push eax
push ecx
lea eax, [esp + 0x54]
push str.DEBUG_
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
pop ecx
push eax
call fcn.0040616a
push eax
lea ecx, [esp + 0x104]
call fcn.0040caaa
add esp, 0x10
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
pop ecx
push eax
call fcn.0040616a
mov ecx, dword [esp + 0x24]
push eax
call fcn.0040caaa
add esp, 0x10
push eax
call fcn.0040616a
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040caaa
mov edi, dword [ebp + 8]
add esp, 0xc
test byte [ebx + 0x20], 1
je 0x410bce
cmp edi, dword [ebx + 0xd8]
ja 0x410bce
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x28]
call fcn.00404dc4
mov byte [esp + 0x120], 3
cmp dword [eax + 0x14], 0x10
jb 0x410ba4
mov eax, dword [eax]
push eax
lea eax, [ebx + 0x28]
push eax
call fcn.0040616a
push eax
call fcn.004111d0
add esp, 0xc
mov byte [esp + 0x120], 1
push esi
push 1
lea ecx, [esp + 0xc4]
call fcn.00407e53
test byte [ebx + 0x20], 4
je 0x410c28
cmp edi, dword [ebx + 0xdc]
ja 0x410c28
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x28]
call fcn.00404dc4
mov byte [esp + 0x120], 4
cmp dword [eax + 0x14], 0x10
jb 0x410bfd
mov eax, dword [eax]
push eax
push 0x464768
call fcn.0040616a
push eax
call fcn.004111d0
add esp, 0xc
mov byte [esp + 0x120], 1
push esi
push 1
lea ecx, [esp + 0xc4]
call fcn.00407e53
test byte [ebx + 0x20], 0x10
je 0x410caa
cmp edi, dword [ebx + 0xe0]
ja 0x410caa
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x28]
call fcn.00404dc4
mov byte [esp + 0x120], 5
push 0x456abc
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00410f93
add esp, 0xc
mov byte [esp + 0x120], 6
cmp dword [eax + 0x14], 0x10
jb 0x410c75
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esp + 0x120], 5
push esi
push 1
lea ecx, [esp + 0xc4]
call fcn.00407e53
mov byte [esp + 0x120], 1
push esi
push 1
lea ecx, [esp + 0xfc]
call fcn.00407e53
mov byte [esp + 0x120], 0
push esi
push 1
lea ecx, [esp + 0xe0]
call fcn.00407e53
or dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.00404d81
lea ecx, [esp + 0x74]
call fcn.00407b8a
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004313d1
mov esp, ebp
pop ebp
ret 0x10