Function at 0x42fb40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c924b
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.004939a0
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jne 0x42fb81
jmp 0x42fe60
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov word [ebp - 0x2044], cx
push 0x2000
push 0
lea edx, [ebp - 0x2042]
push edx
call fcn.004931a0
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1000
lea edx, [ebp - 0x2044]
push edx
call fcn.00493802
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
call fcn.004935db
add esp, 4
mov dword [ebp - 0x2050], eax
mov dword [ebp - 0x204c], edx
mov eax, dword [ebp - 0x2050]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x204c]
mov dword [ebp - 0x34], ecx
push 0x4d11a4
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x38]
call fcn.00406540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2048]
call fcn.00412230
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2044]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push str._s_______s_r_n
lea edx, [ebp - 0x2048]
push edx
call fcn.00413630
add esp, 0x10
mov dword [ebp - 0x2c], 3
mov eax, dword [ebp - 0x2048]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42fc5f
mov dword [ebp - 0x20a0], 0
jmp 0x42fd1d
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x42fc87
mov dword [ebp - 0x20a4], 0
jmp 0x42fd11
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004939d0
mov dword [ebp - 0x2064], esp
mov edx, dword [ebp - 0x2068]
mov dword [ebp - 0x20a4], edx
cmp dword [ebp - 0x2064], 0
je 0x42fcb2
cmp dword [ebp - 0x1c], 0
jne 0x42fcbe
mov dword [ebp - 0x20a4], 0
jmp 0x42fd11
mov eax, dword [ebp - 0x2064]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x2064]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2060], eax
cmp dword [ebp - 0x2060], 0
jne 0x42fd05
mov dword [ebp - 0x20a4], 0
jmp 0x42fd11
mov edx, dword [ebp - 0x2064]
mov dword [ebp - 0x20a4], edx
mov eax, dword [ebp - 0x20a4]
mov dword [ebp - 0x20a0], eax
mov ecx, dword [ebp - 0x20a0]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00412440
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x1c], 0x5069f0
cmp dword [ebp - 0x1c], 0
jne 0x42fd56
mov dword [ebp - 0x20a8], 0
jmp 0x42fe14
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x42fd7e
mov dword [ebp - 0x20ac], 0
jmp 0x42fe08
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004939d0
mov dword [ebp - 0x2080], esp
mov ecx, dword [ebp - 0x2084]
mov dword [ebp - 0x20ac], ecx
cmp dword [ebp - 0x2080], 0
je 0x42fda9
cmp dword [ebp - 0x1c], 0
jne 0x42fdb5
mov dword [ebp - 0x20ac], 0
jmp 0x42fe08
mov edx, dword [ebp - 0x2080]
mov byte [edx], 0
push 0
push 0
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x2080]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x207c], eax
cmp dword [ebp - 0x207c], 0
jne 0x42fdfc
mov dword [ebp - 0x20ac], 0
jmp 0x42fe08
mov ecx, dword [ebp - 0x2080]
mov dword [ebp - 0x20ac], ecx
mov edx, dword [ebp - 0x20ac]
mov dword [ebp - 0x20a8], edx
mov eax, dword [ebp - 0x20a8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040f4d0
push eax
call fcn.0042fae0
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0040f510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00412b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2048]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004129d0
lea esp, [ebp - 0x20b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret