Function at 0x41cef0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bc81
mov eax, dword fs:[0]
push eax
sub esp, 0xcbc
mov eax, dword [0x48a1d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc64], ecx
xor eax, eax
mov word [ebp - 0x50], ax
push 0x3e
push 0
lea ecx, [ebp - 0x4e]
push ecx
call fcn.004369a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc64]
call fcn.0041cc10
mov eax, dword [eax + 0x18]
push eax
push str._08x
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0xc64]
add ecx, 0xc
call fcn.0040f710
test eax, eax
jne 0x41cfa6
lea edx, [ebp - 0xcb0]
push edx
mov ecx, dword [ebp - 0xc64]
call fcn.0041d620
mov dword [ebp - 0xc7c], eax
mov eax, dword [ebp - 0xc7c]
push eax
mov ecx, dword [ebp - 0xc64]
add ecx, 0xc
call fcn.0040d260
lea ecx, [ebp - 0xcb0]
call fcn.00406810
xor ecx, ecx
mov word [ebp - 0xc50], cx
push 0x7fe
push 0
lea edx, [ebp - 0xc4e]
push edx
call fcn.004369a0
add esp, 0xc
mov ecx, dword [ebp - 0xc64]
add ecx, 0xc
call fcn.004077f0
push eax
push 0x477168
push 0x400
lea eax, [ebp - 0xc50]
push eax
call fcn.0043afb1
add esp, 0x10
push 0xc
lea ecx, [ebp - 0xc5c]
call fcn.0041e820
lea ecx, [ebp - 0xc5c]
call fcn.0041c960
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc5c]
push ecx
mov ecx, dword [ebp - 0xc64]
call fcn.0041d480
mov dword [ebp - 0xc68], 0
jmp 0x41d039
mov edx, dword [ebp - 0xc68]
add edx, 1
mov dword [ebp - 0xc68], edx
lea ecx, [ebp - 0xc5c]
call fcn.00413d80
cmp dword [ebp - 0xc68], eax
jae 0x41d09b
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xc68]
push ecx
lea ecx, [ebp - 0xc5c]
call fcn.0041cc30
push eax
call fcn.0041c190
add esp, 8
movzx edx, al
test edx, edx
je 0x41d099
mov dword [ebp - 0xc78], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc5c]
call fcn.0041cb30
mov eax, dword [ebp - 0xc78]
jmp 0x41d1f8
jmp 0x41d02a
xor eax, eax
mov word [ebp - 0x450], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x44e]
push ecx
call fcn.004369a0
add esp, 0xc
lea ecx, [ebp - 0xc5c]
call fcn.00413d80
add eax, 1
push eax
push 0x477250
push 0x200
lea edx, [ebp - 0x450]
push edx
call fcn.0043afb1
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xcc8]
call fcn.00406660
mov dword [ebp - 0xc80], eax
mov ecx, dword [ebp - 0xc80]
mov dword [ebp - 0xc88], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc88]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc98], esp
lea eax, [ebp - 0x450]
push eax
call fcn.00406660
mov dword [ebp - 0xc84], eax
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0xc94], ecx
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc90], esp
lea edx, [ebp - 0xc50]
push edx
call fcn.00406660
mov dword [ebp - 0xc8c], eax
push SysStringLen
mov byte [ebp - 4], 1
call fcn.00413260
add esp, 0x38
mov dword [ebp - 0xc74], eax
cmp dword [ebp - 0xc74], 0
jne 0x41d184
mov dword [ebp - 0xc6c], 1
jmp 0x41d18e
mov dword [ebp - 0xc6c], 0
mov al, byte [ebp - 0xc6c]
mov byte [ebp - 0xc5d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc8]
call fcn.00406810
movzx ecx, byte [ebp - 0xc5d]
test ecx, ecx
je 0x41d1d6
push 0x477258
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0xc70], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc5c]
call fcn.0041cb30
mov eax, dword [ebp - 0xc70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043715b
mov esp, ebp
pop ebp
ret 8