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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b371
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x6c]
call fcn.004227f0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xa8], eax
push str.__install_ParseCommandLine_argnum_is
lea ecx, [ebp - 0x9c]
call fcn.004076e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.0040c170
add esp, 8
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x9c]
call fcn.0040b040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00407ce0
mov dword [ebp - 0xa4], 0
jmp 0x4234cb
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa0]
jge 0x4238b5
mov dword [ebp - 0xb0], str._auto_start
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov ax, word [edx]
mov word [ebp - 0xd8], ax
mov ecx, dword [ebp - 0xb0]
cmp ax, word [ecx]
jne 0x423562
cmp word [ebp - 0xd8], 0
je 0x423556
mov edx, dword [ebp - 0xac]
mov ax, word [edx + 2]
mov word [ebp - 0xca], ax
mov ecx, dword [ebp - 0xb0]
cmp ax, word [ecx + 2]
jne 0x423562
add dword [ebp - 0xac], 4
add dword [ebp - 0xb0], 4
cmp word [ebp - 0xca], 0
jne 0x4234fc
mov dword [ebp - 0xdc], 0
jmp 0x42356d
sbb edx, edx
or edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x423586
mov byte [ebp - 0x54], 1
mov dword [ebp - 0xb8], str._silent
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dx, word [ecx]
mov word [ebp - 0xcc], dx
mov eax, dword [ebp - 0xb8]
cmp dx, word [eax]
jne 0x42360b
cmp word [ebp - 0xcc], 0
je 0x4235ff
mov ecx, dword [ebp - 0xb4]
mov dx, word [ecx + 2]
mov word [ebp - 0xce], dx
mov eax, dword [ebp - 0xb8]
cmp dx, word [eax + 2]
jne 0x42360b
add dword [ebp - 0xb4], 4
add dword [ebp - 0xb8], 4
cmp word [ebp - 0xce], 0
jne 0x4235a5
mov dword [ebp - 0xe0], 0
jmp 0x423616
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0
jne 0x42362f
mov byte [ebp - 0x53], 1
mov dword [ebp - 0xc8], str._test
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov cx, word [eax]
mov word [ebp - 0xd0], cx
mov edx, dword [ebp - 0xc8]
cmp cx, word [edx]
jne 0x4236b4
cmp word [ebp - 0xd0], 0
je 0x4236a8
mov eax, dword [ebp - 0xbc]
mov cx, word [eax + 2]
mov word [ebp - 0xd2], cx
mov edx, dword [ebp - 0xc8]
cmp cx, word [edx + 2]
jne 0x4236b4
add dword [ebp - 0xbc], 4
add dword [ebp - 0xc8], 4
cmp word [ebp - 0xd2], 0
jne 0x42364e
mov dword [ebp - 0xe4], 0
jmp 0x4236bf
sbb eax, eax
or eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0
jne 0x4236d8
mov byte [ebp - 0x20], 1
mov dword [ebp - 0xc0], str._install_path
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov ax, word [edx]
mov word [ebp - 0xd4], ax
mov ecx, dword [ebp - 0xc0]
cmp ax, word [ecx]
jne 0x42375d
cmp word [ebp - 0xd4], 0
je 0x423751
mov edx, dword [ebp - 0xc4]
mov ax, word [edx + 2]
mov word [ebp - 0xd6], ax
mov ecx, dword [ebp - 0xc0]
cmp ax, word [ecx + 2]
jne 0x42375d
add dword [ebp - 0xc4], 4
add dword [ebp - 0xc0], 4
cmp word [ebp - 0xd6], 0
jne 0x4236f7
mov dword [ebp - 0xe8], 0
jmp 0x423768
sbb edx, edx
or edx, 1
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x4237bb
mov ecx, dword [ebp - 0xa4]
add ecx, 1
cmp ecx, dword [ebp - 0xa0]
jge 0x4237b6
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + edx*4 + 4]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004081c0
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
jmp 0x4238b0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x84]
call fcn.00407820
mov byte [ebp - 4], 3
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.0040afc0
lea ecx, [ebp - 0x1c]
call fcn.00417760
mov byte [ebp - 4], 4
push 0x3d
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x108], esp
lea edx, [ebp - 0x84]
push edx
call fcn.0040ed70
call fcn.004247f0
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.004247c0
cmp eax, 2
jne 0x423895
push str._pipename
push 0
lea ecx, [ebp - 0x1c]
call fcn.00422ba0
push eax
call fcn.00421500
add esp, 8
movzx eax, al
test eax, eax
je 0x423863
push 1
lea ecx, [ebp - 0x1c]
call fcn.00422ba0
push eax
lea ecx, [ebp - 0x38]
call fcn.00408150
lea ecx, [ebp - 0x38]
call fcn.0040b600
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._ChannID
push 0
lea ecx, [ebp - 0x1c]
call fcn.00422ba0
push eax
call fcn.00421500
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x423895
push 1
lea ecx, [ebp - 0x1c]
call fcn.00422ba0
push eax
lea ecx, [ebp - 0x50]
call fcn.00408150
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00422b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00407d30
jmp 0x4234bc
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00422770
mov eax, dword [ebp - 0xec]
or eax, 1
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00407ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00422b40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret