Function at 0x467de9
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fec1
call fcn.0050c8f8
sub esp, 0x18
push ebx
push esi
push edi
mov esi, str.eid1
lea eax, [ebp - 0x20]
push esi
push eax
mov ebx, ecx
call fcn.00429b8b
push eax
call fcn.00429971
push dword [eax]
call fcn.004efbef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
lea eax, [ebp - 0x20]
push str.eid2
push eax
call fcn.00429b8b
push eax
call fcn.00429971
push dword [eax]
call fcn.004efbef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
lea eax, [ebp - 0x20]
push str.installreg
push eax
call fcn.00429b8b
push eax
call fcn.00429971
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058c9
lea eax, [ebp - 0x20]
push 0x542680
push eax
call fcn.00429b8b
push eax
call fcn.00429971
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058c9
mov eax, dword [0x55daac]
xor edi, edi
mov ecx, 0x55daac
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x44]
push eax
mov dword [ebp - 4], 2
mov dword [eax], edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429241
add esp, 0x18
test eax, eax
je 0x467f1b
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x467f15
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
call fcn.0046825d
test eax, eax
je 0x467f35
mov dword [ebx + 8], 0x1f4
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], edi
lea eax, [ebx + 0x1c]
push esi
call fcn.00467a33
test eax, eax
je 0x467f65
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046798c
push dword [eax]
call fcn.004efbef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
mov esi, str.eid2
push esi
lea eax, [ebx + 0x1c]
call fcn.00467a33
test eax, eax
je 0x467f9a
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046798c
push dword [eax]
call fcn.004efbef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
mov esi, str.func
push esi
lea eax, [ebx + 0x1c]
call fcn.00467a33
test eax, eax
je 0x467fcf
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046798c
push dword [eax]
call fcn.004efbef
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
lea esi, [ebx + 0x1c]
push 0x53d77c
mov eax, esi
call fcn.00467a33
test eax, eax
jne 0x467ff7
push 0x53e094
mov eax, esi
call fcn.00467a33
test eax, eax
jne 0x467ff7
cmp dword [ebx + 0x10], edi
je 0x467ffe
mov dword [ebx + 0x14], 0xf
push 0x542878
mov eax, esi
call fcn.00467a33
test eax, eax
je 0x4680b4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405b39
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004082fd
mov edi, eax
test edi, edi
jl 0x4680a3
lea ecx, [edi + 5]
push 0x53c7b0
mov dword [ebp - 0x20], ecx
call fcn.004082fd
test eax, eax
mov edx, dword [ebp - 0x20]
jle 0x46806a
mov ecx, eax
lea eax, [ebp - 0x20]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.00406249
mov byte [ebp - 4], 4
jmp 0x468085
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x20]
sub ecx, edi
push eax
sub ecx, 5
lea eax, [ebp - 0x10]
call fcn.00406249
mov byte [ebp - 4], 5
lea edi, [ebx + 0x3c]
call fcn.00404ebe
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058c9
mov eax, edi
call fcn.004068eb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004058c9
xor edi, edi
mov esi, str.from
push esi
lea eax, [ebx + 0x1c]
call fcn.00467a33
test eax, eax
je 0x4680e9
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046798c
push dword [eax]
call fcn.004efbef
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058c9
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], edi
je 0x46813f
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], edi
je 0x46813f
call fcn.00427c00
mov esi, eax
lea edi, [esi + 4]
lea eax, [ebx + 0x38]
call fcn.00404ebe
lea edi, [esi + 8]
lea eax, [ebx + 0x34]
call fcn.00404ebe
mov dword [esi + 0xc], 1
call fcn.00427c00
cmp dword [eax + 0xc], 0
je 0x46813d
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00427d0c
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058c9
xor edi, edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x468159
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
cmp eax, edi
mov dword [ebx + 0x10], ecx
jne 0x468160
mov dword [ebx + 0x14], 6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0042b2b0
mov eax, dword [ebp - 0x20]
cmp eax, edi
pop ecx
pop ecx
je 0x468185
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], edi
je 0x468198
lea edi, [ebx + 0x40]
lea eax, [ebp - 0x14]
call fcn.00404ebe
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
call fcn.0042bd2f
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], edi
lea eax, [esi - 0x10]
call fcn.004058c9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret