Function at 0x467a90
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fbe3
call fcn.0050c5c8
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.004298ee
push eax
call fcn.004296d4
push dword [eax]
call fcn.004ef8af
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.004298ee
push eax
call fcn.004296d4
push dword [eax]
call fcn.004ef8af
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.004298ee
push eax
call fcn.004296d4
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 0x542660
push eax
call fcn.004298ee
push eax
call fcn.004296d4
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.00429192
add esp, 0x10
test eax, eax
je 0x467b9e
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 0x467b98
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
call fcn.00467ec3
test eax, eax
je 0x467bb8
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.004676f2
test eax, eax
je 0x467be9
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.0046764b
push dword [eax]
call fcn.004ef8af
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.004676f2
test eax, eax
je 0x467c1c
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.0046764b
push dword [eax]
call fcn.004ef8af
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.004676f2
test eax, eax
je 0x467c4f
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.0046764b
push dword [eax]
call fcn.004ef8af
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.004676f2
test eax, eax
jne 0x467c74
push 0x53e094
mov eax, edi
call fcn.004676f2
test eax, eax
jne 0x467c74
cmp dword [ebx + 0x10], eax
je 0x467c7b
mov dword [ebx + 0x14], 0xf
push 0x542858
mov eax, edi
call fcn.004676f2
test eax, eax
je 0x467d32
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.004081e3
mov edi, eax
test edi, edi
jl 0x467d23
lea ecx, [edi + 5]
push 0x53c7b0
mov dword [ebp - 0x1c], ecx
call fcn.004081e3
test eax, eax
mov edx, dword [ebp - 0x1c]
jle 0x467cea
mov ecx, eax
lea eax, [ebp - 0x1c]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.004061d1
mov byte [ebp - 4], 3
jmp 0x467d05
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.004061d1
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.0040684f
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.004676f2
test eax, eax
je 0x467d68
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.0046764b
push dword [eax]
call fcn.004ef8af
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 0x467dbe
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x467dbe
call fcn.00427b5d
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.00427b5d
cmp dword [eax + 0xc], 0
je 0x467dbe
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00427c69
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040586f
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x467dd8
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test eax, eax
mov dword [ebx + 0x10], ecx
jne 0x467ddf
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.0042afd9
mov eax, dword [ebp - 0x1c]
test eax, eax
pop ecx
pop ecx
je 0x467e06
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.0042ba58
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