Function at 0x467d97
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x5113d1
call fcn.0050debc
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.00429b05
push eax
call fcn.004298eb
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
lea eax, [ebp - 0x20]
push str.eid2
push eax
call fcn.00429b05
push eax
call fcn.004298eb
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
lea eax, [ebp - 0x20]
push str.installreg
push eax
call fcn.00429b05
push eax
call fcn.004298eb
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ead
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058b2
lea eax, [ebp - 0x20]
push 0x544930
push eax
call fcn.00429b05
push eax
call fcn.004298eb
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ead
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [0x55fb0c]
xor edi, edi
mov ecx, 0x55fb0c
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.004291bb
add esp, 0x18
test eax, eax
je 0x467ec9
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 0x467ec3
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
call fcn.00468253
test eax, eax
je 0x467ee3
mov dword [ebx + 8], 0x1f4
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], edi
lea eax, [ebx + 0x1c]
push esi
call fcn.004679e1
test eax, eax
je 0x467f13
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046793a
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
mov esi, str.eid2
push esi
lea eax, [ebx + 0x1c]
call fcn.004679e1
test eax, eax
je 0x467f48
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046793a
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
mov esi, str.func
push esi
lea eax, [ebx + 0x1c]
call fcn.004679e1
test eax, eax
je 0x467f7d
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046793a
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
lea esi, [ebx + 0x1c]
push 0x53f97c
mov eax, esi
call fcn.004679e1
test eax, eax
jne 0x467fa5
push 0x540344
mov eax, esi
call fcn.004679e1
test eax, eax
jne 0x467fa5
cmp dword [ebx + 0x10], edi
je 0x467fac
mov dword [ebx + 0x14], 0xf
push 0x544b28
mov eax, esi
call fcn.004679e1
test eax, eax
je 0x468062
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405b22
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040816c
mov edi, eax
test edi, edi
jl 0x468051
lea ecx, [edi + 5]
push 0x53e990
mov dword [ebp - 0x20], ecx
call fcn.0040816c
test eax, eax
mov edx, dword [ebp - 0x20]
jle 0x468018
mov ecx, eax
lea eax, [ebp - 0x20]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.00406140
mov byte [ebp - 4], 4
jmp 0x468033
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.00406140
mov byte [ebp - 4], 5
lea edi, [ebx + 0x3c]
call fcn.00404ead
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, edi
call fcn.004067ad
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004058b2
xor edi, edi
mov esi, str.from
push esi
lea eax, [ebx + 0x1c]
call fcn.004679e1
test eax, eax
je 0x468097
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.0046793a
push dword [eax]
call fcn.004f0e2f
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [ebx + 0x38]
mov eax, dword [eax - 0xc]
cmp eax, edi
je 0x468135
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], edi
je 0x468135
call fcn.00427c40
mov esi, eax
lea edi, [esi + 4]
lea eax, [ebx + 0x38]
call fcn.00404ead
lea edi, [esi + 8]
lea eax, [ebx + 0x34]
call fcn.00404ead
mov dword [esi + 0xc], 1
mov eax, dword [0x55fb0c]
mov ecx, 0x55fb0c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.0042b1ba
pop ecx
lea eax, [ebp - 0x10]
call fcn.004067ad
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x468127
call fcn.00427c40
cmp dword [eax + 0xc], 0
je 0x468127
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00427d4c
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004058b2
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.004058b2
xor edi, edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x46814f
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
cmp eax, edi
mov dword [ebx + 0x10], ecx
jne 0x468156
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.0042b22a
mov eax, dword [ebp - 0x20]
cmp eax, edi
pop ecx
pop ecx
je 0x46817b
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 0x46818e
lea edi, [ebx + 0x40]
lea eax, [ebp - 0x14]
call fcn.00404ead
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
call fcn.0042bca9
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], edi
lea eax, [esi - 0x10]
call fcn.004058b2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret