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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b611
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x58d224]
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.00422a80
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.004077e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.0040c760
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.0040b4b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00407de0
mov dword [ebp - 0xa4], 0
jmp 0x42375b
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa0]
jge 0x423b45
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 0x4237f2
cmp word [ebp - 0xd8], 0
je 0x4237e6
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 0x4237f2
add dword [ebp - 0xac], 4
add dword [ebp - 0xb0], 4
cmp word [ebp - 0xca], 0
jne 0x42378c
mov dword [ebp - 0xdc], 0
jmp 0x4237fd
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 0x423816
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 0x42389b
cmp word [ebp - 0xcc], 0
je 0x42388f
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 0x42389b
add dword [ebp - 0xb4], 4
add dword [ebp - 0xb8], 4
cmp word [ebp - 0xce], 0
jne 0x423835
mov dword [ebp - 0xe0], 0
jmp 0x4238a6
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 0x4238bf
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 0x423944
cmp word [ebp - 0xd0], 0
je 0x423938
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 0x423944
add dword [ebp - 0xbc], 4
add dword [ebp - 0xc8], 4
cmp word [ebp - 0xd2], 0
jne 0x4238de
mov dword [ebp - 0xe4], 0
jmp 0x42394f
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 0x423968
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 0x4239ed
cmp word [ebp - 0xd4], 0
je 0x4239e1
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 0x4239ed
add dword [ebp - 0xc4], 4
add dword [ebp - 0xc0], 4
cmp word [ebp - 0xd6], 0
jne 0x423987
mov dword [ebp - 0xe8], 0
jmp 0x4239f8
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 0x423a4b
mov ecx, dword [ebp - 0xa4]
add ecx, 1
cmp ecx, dword [ebp - 0xa0]
jge 0x423a46
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.004082c0
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
jmp 0x423b40
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x84]
call fcn.00407920
mov byte [ebp - 4], 3
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.0040b430
lea ecx, [ebp - 0x1c]
call fcn.00417a00
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.0040f2a0
call fcn.00424a80
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.00424a50
cmp eax, 2
jne 0x423b25
push str._pipename
push 0
lea ecx, [ebp - 0x1c]
call fcn.00422e30
push eax
call fcn.00421790
add esp, 8
movzx eax, al
test eax, eax
je 0x423af3
push 1
lea ecx, [ebp - 0x1c]
call fcn.00422e30
push eax
lea ecx, [ebp - 0x38]
call fcn.00408250
lea ecx, [ebp - 0x38]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._ChannID
push 0
lea ecx, [ebp - 0x1c]
call fcn.00422e30
push eax
call fcn.00421790
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x423b25
push 1
lea ecx, [ebp - 0x1c]
call fcn.00422e30
push eax
lea ecx, [ebp - 0x50]
call fcn.00408250
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00422d90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00407e30
jmp 0x42374c
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00422a00
mov eax, dword [ebp - 0xec]
or eax, 1
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00407de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00422dd0
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.004d4e68
mov esp, ebp
pop ebp
ret