Function at 0x467fd0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x51141e
call fcn.0050df3c
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.00429cca
push eax
call fcn.00429ab0
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
lea eax, [ebp - 0x20]
push str.eid2
push eax
call fcn.00429cca
push eax
call fcn.00429ab0
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
lea eax, [ebp - 0x20]
push str.installreg
push eax
call fcn.00429cca
push eax
call fcn.00429ab0
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ec2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405980
lea eax, [ebp - 0x20]
push 0x544940
push eax
call fcn.00429cca
push eax
call fcn.00429ab0
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ec2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405980
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.00429380
add esp, 0x18
test eax, eax
je 0x468102
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 0x4680fc
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
call fcn.0046848c
test eax, eax
je 0x46811c
mov dword [ebx + 8], 0x1f4
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], edi
lea eax, [ebx + 0x1c]
push esi
call fcn.00467c1a
test eax, eax
je 0x46814c
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.00467b73
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
mov esi, str.eid2
push esi
lea eax, [ebx + 0x1c]
call fcn.00467c1a
test eax, eax
je 0x468181
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.00467b73
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
mov esi, str.func
push esi
lea eax, [ebx + 0x1c]
call fcn.00467c1a
test eax, eax
je 0x4681b6
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.00467b73
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
lea esi, [ebx + 0x1c]
push 0x53f97c
mov eax, esi
call fcn.00467c1a
test eax, eax
jne 0x4681de
push 0x540344
mov eax, esi
call fcn.00467c1a
test eax, eax
jne 0x4681de
cmp dword [ebx + 0x10], edi
je 0x4681e5
mov dword [ebx + 0x14], 0xf
push 0x544b38
mov eax, esi
call fcn.00467c1a
test eax, eax
je 0x46829b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405bf0
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040833e
mov edi, eax
test edi, edi
jl 0x46828a
lea ecx, [edi + 5]
push 0x53e9a0
mov dword [ebp - 0x20], ecx
call fcn.0040833e
test eax, eax
mov edx, dword [ebp - 0x20]
jle 0x468251
mov ecx, eax
lea eax, [ebp - 0x20]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.004062ad
mov byte [ebp - 4], 4
jmp 0x46826c
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.004062ad
mov byte [ebp - 4], 5
lea edi, [ebx + 0x3c]
call fcn.00404ec2
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405980
mov eax, edi
call fcn.00406935
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405980
xor edi, edi
mov esi, str.from
push esi
lea eax, [ebx + 0x1c]
call fcn.00467c1a
test eax, eax
je 0x4682d0
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x1c]
call fcn.00467b73
push dword [eax]
call fcn.004f0eaf
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405980
mov eax, dword [ebx + 0x38]
mov eax, dword [eax - 0xc]
cmp eax, edi
je 0x46836e
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], edi
je 0x46836e
call fcn.00427d46
mov esi, eax
lea edi, [esi + 4]
lea eax, [ebx + 0x38]
call fcn.00404ec2
lea edi, [esi + 8]
lea eax, [ebx + 0x34]
call fcn.00404ec2
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.0042b381
pop ecx
lea eax, [ebp - 0x10]
call fcn.00406935
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x468360
call fcn.00427d46
cmp dword [eax + 0xc], 0
je 0x468360
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00427e52
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405980
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00405980
xor edi, edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x468388
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
cmp eax, edi
mov dword [ebx + 0x10], ecx
jne 0x46838f
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.0042b3f1
mov eax, dword [ebp - 0x20]
cmp eax, edi
pop ecx
pop ecx
je 0x4683b4
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 0x4683c7
lea edi, [ebx + 0x40]
lea eax, [ebp - 0x14]
call fcn.00404ec2
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
call fcn.0042be73
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], edi
lea eax, [esi - 0x10]
call fcn.00405980
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret