Function at 0x467b03
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fbcd
call fcn.0050c608
sub esp, 0x10
push ebx
push esi
push edi
mov esi, str.eid1
lea eax, [ebp - 0x1c]
push esi
push eax
mov ebx, ecx
call fcn.00429933
push eax
call fcn.00429719
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
lea eax, [ebp - 0x1c]
push str.eid2
push eax
call fcn.00429933
push eax
call fcn.00429719
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
lea eax, [ebp - 0x1c]
push str.installreg
push eax
call fcn.00429933
push eax
call fcn.00429719
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040586f
lea eax, [ebp - 0x1c]
push 0x542690
push eax
call fcn.00429933
push eax
call fcn.00429719
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040586f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.004291d7
add esp, 0x10
test eax, eax
je 0x467c11
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x467c0b
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
call fcn.00467f36
test eax, eax
je 0x467c2b
mov dword [ebx + 8], 0x1f4
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], edi
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.00467765
test eax, eax
je 0x467c5c
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004676be
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
mov esi, str.eid2
push esi
mov eax, edi
call fcn.00467765
test eax, eax
je 0x467c8f
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004676be
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
mov esi, str.func
push esi
mov eax, edi
call fcn.00467765
test eax, eax
je 0x467cc2
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004676be
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
push 0x53d77c
mov eax, edi
call fcn.00467765
test eax, eax
jne 0x467ce7
push 0x53e094
mov eax, edi
call fcn.00467765
test eax, eax
jne 0x467ce7
cmp dword [ebx + 0x10], eax
je 0x467cee
mov dword [ebx + 0x14], 0xf
push 0x542888
mov eax, edi
call fcn.00467765
test eax, eax
je 0x467da5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405adf
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.004081aa
mov edi, eax
test edi, edi
jl 0x467d96
lea ecx, [edi + 5]
push 0x53c7b0
mov dword [ebp - 0x1c], ecx
call fcn.004081aa
test eax, eax
mov edx, dword [ebp - 0x1c]
jle 0x467d5d
mov ecx, eax
lea eax, [ebp - 0x1c]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.0040617f
mov byte [ebp - 4], 3
jmp 0x467d78
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
sub ecx, edi
push eax
sub ecx, 5
lea eax, [ebp - 0x10]
call fcn.0040617f
mov byte [ebp - 4], 4
lea edi, [ebx + 0x3c]
call fcn.00404ed3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040586f
mov eax, edi
call fcn.004067fd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040586f
mov esi, str.from
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.00467765
test eax, eax
je 0x467ddb
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004676be
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.0040586f
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], 0
je 0x467e31
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x467e31
call fcn.00427ba2
mov esi, eax
lea edi, [esi + 4]
lea eax, [ebx + 0x38]
call fcn.00404ed3
lea edi, [esi + 8]
lea eax, [ebx + 0x34]
call fcn.00404ed3
mov dword [esi + 0xc], 1
call fcn.00427ba2
cmp dword [eax + 0xc], 0
je 0x467e31
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00427cae
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040586f
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x467e4b
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test eax, eax
mov dword [ebx + 0x10], ecx
jne 0x467e52
mov dword [ebx + 0x14], 6
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b01e
mov eax, dword [ebp - 0x1c]
test eax, eax
pop ecx
pop ecx
je 0x467e79
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
call fcn.0042ba9d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 0x38], esi
mov dword [eax + 0x34], ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret