Function at 0x4010f0
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.004095c0
pop ecx
mov edi, eax
add eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40112d
push 0xb4
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
jmp 0x401134
xor eax, eax
jmp 0x401495
push 0xc4
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xd6
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xdc
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xe4
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xf6
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xfc
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xdf
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xb0
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xa6
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xab
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xbb
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0xff
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401338
push 0x2524
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0x2500
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xcd
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0x2584
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xf5
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xf7
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xb3
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0x2580
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0x2591
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xaa
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xbd
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0x2557
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
jne 0x401321
push 0xa0
push esi
call fcn.004095e0
pop ecx
pop ecx
test eax, eax
je 0x401338
push 0
push 0
lea eax, [edi + 2]
push eax
push ebx
push edi
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x401350
push 0
push 0
lea eax, [edi + 2]
push eax
push ebx
push edi
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x401350
inc ebx
cmp byte [ebx], 0x20
je 0x40134f
cmp byte [ebx], 9
je 0x40134f
cmp byte [ebx], 0xa0
je 0x40134f
mov dword [0x4155b4], ebx
cmp byte [ebx], 0
je 0x40138a
push ebx
call fcn.00409600
pop ecx
lea ebx, [ebx + eax - 1]
jmp 0x40137b
mov byte [ebx], 0
dec ebx
cmp byte [ebx], 0x20
je 0x401377
cmp byte [ebx], 9
je 0x401377
cmp byte [ebx], 0xa0
je 0x401377
push str.xE10b4b089ea32382a1e3f3cce8c51b671
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x4013b5
push dword [0x4155b4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call section..text
pop ecx
mov ebx, eax
cmp dword [0x4155b4], 0
je 0x40142c
mov eax, dword [0x4155b4]
cmp byte [eax], 0xb4
jne 0x40142c
mov eax, dword [0x4155b4]
mov al, byte [eax + 1]
cmp al, 0x20
je 0x401406
cmp al, 9
je 0x401406
cmp al, 0xa0
je 0x401406
cmp al, 0xb0
je 0x4013ee
cmp al, 0x5e
jne 0x40142c
mov edx, dword [0x4155b4]
mov dl, byte [edx + 2]
cmp dl, 0x20
je 0x401406
cmp dl, 9
je 0x401406
cmp dl, 0xa0
jne 0x40142c
cmp al, 0xb0
je 0x40141a
cmp al, 0x5e
jne 0x401424
mov dword [0x4155b8], 2
jmp 0x401424
mov dword [0x4155b8], 1
push 1
call section..text
pop ecx
cmp dword [esp + 0x10], 0
je 0x401493
cmp dword [0x4155b4], 0
je 0x401493
mov eax, dword [0x4155b4]
cmp byte [eax], 0x27
jne 0x401493
mov eax, dword [0x4155b4]
cmp byte [eax + 1], 0x27
jne 0x401493
mov eax, dword [0x4155b4]
mov al, byte [eax + 2]
cmp al, 0x20
je 0x401465
cmp al, 9
je 0x401465
cmp al, 0xa0
jne 0x401493
push 1
call section..text
pop ecx
mov eax, dword [0x4155b4]
test eax, eax
je 0x401493
mov edx, dword [0x4155b4]
cmp byte [edx], 0
je 0x401493
mov ebx, eax
jmp 0x40148e
cmp byte [ebx], 0x27
jne 0x40148d
mov byte [ebx], 0x22
inc ebx
cmp byte [ebx], 0
jne 0x401485
mov eax, ebx
pop edi
pop esi
pop ebx
ret