Function at 0x467a06
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fd34
call fcn.0050c6f8
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.004299c4
push eax
call fcn.004297aa
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
lea eax, [ebp - 0x1c]
push str.eid2
push eax
call fcn.004299c4
push eax
call fcn.004297aa
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
lea eax, [ebp - 0x1c]
push str.installreg
push eax
call fcn.004299c4
push eax
call fcn.004297aa
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058db
lea eax, [ebp - 0x1c]
push 0x542680
push eax
call fcn.004299c4
push eax
call fcn.004297aa
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058db
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.00429268
add esp, 0x10
test eax, eax
je 0x467b14
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 0x467b0e
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
call fcn.00467ef0
test eax, eax
je 0x467b2e
mov dword [ebx + 8], 0x1f6
mov dword [ebx + 0xc], 2
mov dword [ebx + 0x10], edi
call fcn.00467e53
test eax, eax
je 0x467b48
mov dword [ebx + 8], 0x1f6
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], edi
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.00467668
test eax, eax
je 0x467b79
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675c1
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
mov esi, str.eid2
push esi
mov eax, edi
call fcn.00467668
test eax, eax
je 0x467bac
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675c1
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
mov esi, str.func
push esi
mov eax, edi
call fcn.00467668
test eax, eax
je 0x467bdf
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675c1
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
push 0x53d784
mov eax, edi
call fcn.00467668
test eax, eax
jne 0x467c04
push 0x53e09c
mov eax, edi
call fcn.00467668
test eax, eax
jne 0x467c04
cmp dword [ebx + 0x10], eax
je 0x467c0b
mov dword [ebx + 0x14], 0xf
push 0x542870
mov eax, edi
call fcn.00467668
test eax, eax
je 0x467cc2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405b4b
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040835b
mov edi, eax
test edi, edi
jl 0x467cb3
lea ecx, [edi + 5]
push 0x53c7a0
mov dword [ebp - 0x1c], ecx
call fcn.0040835b
test eax, eax
mov edx, dword [ebp - 0x1c]
jle 0x467c7a
mov ecx, eax
lea eax, [ebp - 0x1c]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.0040628b
mov byte [ebp - 4], 3
jmp 0x467c95
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.0040628b
mov byte [ebp - 4], 4
lea edi, [ebx + 0x3c]
call fcn.00404ebe
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058db
mov eax, edi
call fcn.0040692d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004058db
mov esi, str.from
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.00467668
test eax, eax
je 0x467cf8
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675c1
push dword [eax]
call fcn.004ef9ef
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058db
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], 0
je 0x467d4e
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x467d4e
call fcn.00427c33
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.00427c33
cmp dword [eax + 0xc], 0
je 0x467d4e
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00427d3f
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058db
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x467d68
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test eax, eax
mov dword [ebx + 0x10], ecx
jne 0x467d6f
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.0042b0d8
mov eax, dword [ebp - 0x1c]
test eax, eax
pop ecx
pop ecx
je 0x467d96
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.0042bb57
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