Function at 0x4028d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beaeb
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.0048bb00
mov eax, dword [0x4f7458]
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 + 0xc], 0
jne 0x402911
jmp 0x402bee
lea eax, [ebp + 0x10]
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.0048ac80
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1000
lea edx, [ebp - 0x2044]
push edx
call fcn.0048b34f
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
call fcn.0048baab
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 0x4c86a8
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x38]
call fcn.00407910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2048]
call fcn.004023d0
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.004024b0
add esp, 0x10
mov dword [ebp - 0x2c], 3
mov eax, dword [ebp - 0x2048]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4029ef
mov dword [ebp - 0x20a0], 0
jmp 0x402aad
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 0x402a17
mov dword [ebp - 0x20a4], 0
jmp 0x402aa1
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.0048bb30
mov dword [ebp - 0x2064], esp
mov edx, dword [ebp - 0x2068]
mov dword [ebp - 0x20a4], edx
cmp dword [ebp - 0x2064], 0
je 0x402a42
cmp dword [ebp - 0x1c], 0
jne 0x402a4e
mov dword [ebp - 0x20a4], 0
jmp 0x402aa1
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 0x402a95
mov dword [ebp - 0x20a4], 0
jmp 0x402aa1
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.0040fc00
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x1c], eax
jne 0x402ae4
mov dword [ebp - 0x20a8], 0
jmp 0x402ba2
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 0x402b0c
mov dword [ebp - 0x20ac], 0
jmp 0x402b96
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.0048bb30
mov dword [ebp - 0x2080], esp
mov edx, dword [ebp - 0x2084]
mov dword [ebp - 0x20ac], edx
cmp dword [ebp - 0x2080], 0
je 0x402b37
cmp dword [ebp - 0x1c], 0
jne 0x402b43
mov dword [ebp - 0x20ac], 0
jmp 0x402b96
mov eax, dword [ebp - 0x2080]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x2080]
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 - 0x207c], eax
cmp dword [ebp - 0x207c], 0
jne 0x402b8a
mov dword [ebp - 0x20ac], 0
jmp 0x402b96
mov edx, dword [ebp - 0x2080]
mov dword [ebp - 0x20ac], edx
mov eax, dword [ebp - 0x20ac]
mov dword [ebp - 0x20a8], eax
mov ecx, dword [ebp - 0x20a8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040fd00
push eax
mov ecx, dword [ebp + 8]
call fcn.00402870
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0040fd40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00410310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2048]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402470
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.0048abfc
mov esp, ebp
pop ebp
ret