Function at 0x467d70
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fe9e
call fcn.0050c878
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.00429adc
push eax
call fcn.004298c2
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
lea eax, [ebp - 0x20]
push str.eid2
push eax
call fcn.00429adc
push eax
call fcn.004298c2
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
lea eax, [ebp - 0x20]
push str.installreg
push eax
call fcn.00429adc
push eax
call fcn.004298c2
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405883
lea eax, [ebp - 0x20]
push 0x542680
push eax
call fcn.00429adc
push eax
call fcn.004298c2
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ebe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405883
mov eax, dword [0x55daac]
xor edi, edi
mov ecx, 0x55daac
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, [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]
mov dword [ebp - 4], 2
push eax
call fcn.004291f1
add esp, 0x14
test eax, eax
je 0x467e9c
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 0x467e96
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
call fcn.004681d9
test eax, eax
je 0x467eb6
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.004679bd
test eax, eax
je 0x467ee7
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00467916
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
mov esi, str.eid2
push esi
mov eax, edi
call fcn.004679bd
test eax, eax
je 0x467f1a
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00467916
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
mov esi, str.func
push esi
mov eax, edi
call fcn.004679bd
test eax, eax
je 0x467f4d
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00467916
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
push 0x53d77c
mov eax, edi
call fcn.004679bd
test eax, eax
jne 0x467f72
push 0x53e094
mov eax, edi
call fcn.004679bd
test eax, eax
jne 0x467f72
cmp dword [ebx + 0x10], eax
je 0x467f79
mov dword [ebx + 0x14], 0xf
push 0x542878
mov eax, edi
call fcn.004679bd
test eax, eax
je 0x46802d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405af3
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004082dc
mov edi, eax
test edi, edi
jl 0x46801e
lea ecx, [edi + 5]
push 0x53c7b0
mov dword [ebp - 0x20], ecx
call fcn.004082dc
test eax, eax
mov edx, dword [ebp - 0x20]
jle 0x467fe5
mov ecx, eax
lea eax, [ebp - 0x20]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.00406203
mov byte [ebp - 4], 4
jmp 0x468000
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.00406203
mov byte [ebp - 4], 5
lea edi, [ebx + 0x3c]
call fcn.00404ebe
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405883
mov eax, edi
call fcn.004068a5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405883
mov esi, str.from
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.004679bd
test eax, eax
je 0x468063
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00467916
push dword [eax]
call fcn.004efb6f
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00405883
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], 0
je 0x4680b9
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x4680b9
call fcn.00427bb0
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.00427bb0
cmp dword [eax + 0xc], 0
je 0x4680b9
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00427cbc
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405883
mov eax, dword [ebx + 0x14]
xor edi, edi
cmp eax, edi
je 0x4680d5
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
cmp eax, edi
mov dword [ebx + 0x10], ecx
jne 0x4680dc
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.0042b201
mov eax, dword [ebp - 0x20]
cmp eax, edi
pop ecx
pop ecx
je 0x468101
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 0x468114
lea edi, [ebx + 0x40]
lea eax, [ebp - 0x14]
call fcn.00404ebe
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
call fcn.0042bc80
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], edi
lea eax, [esi - 0x10]
call fcn.00405883
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret