Function at 0x467a16
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x50fbfe
call fcn.0050c5f8
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.004298d2
push eax
call fcn.004296b8
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
lea eax, [ebp - 0x1c]
push str.eid2
push eax
call fcn.004298d2
push eax
call fcn.004296b8
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
lea eax, [ebp - 0x1c]
push str.installreg
push eax
call fcn.004298d2
push eax
call fcn.004296b8
and dword [ebp - 4], 0
lea edi, [ebx + 0x34]
call fcn.00404ead
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058b7
lea eax, [ebp - 0x1c]
push 0x542658
push eax
call fcn.004298d2
push eax
call fcn.004296b8
lea edi, [ebx + 0x38]
mov dword [ebp - 4], 1
call fcn.00404ead
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058b7
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.00429176
add esp, 0x10
test eax, eax
je 0x467b24
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 0x467b1e
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
call fcn.00467e49
test eax, eax
je 0x467b3e
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.00467678
test eax, eax
je 0x467b6f
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675d1
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
mov esi, str.eid2
push esi
mov eax, edi
call fcn.00467678
test eax, eax
je 0x467ba2
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675d1
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
mov esi, str.func
push esi
mov eax, edi
call fcn.00467678
test eax, eax
je 0x467bd5
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675d1
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
push 0x53d77c
mov eax, edi
call fcn.00467678
test eax, eax
jne 0x467bfa
push 0x53e094
mov eax, edi
call fcn.00467678
test eax, eax
jne 0x467bfa
cmp dword [ebx + 0x10], eax
je 0x467c01
mov dword [ebx + 0x14], 0xf
push 0x542850
mov eax, edi
call fcn.00467678
test eax, eax
je 0x467cb8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405b27
push str._dir
xor ecx, ecx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.00408186
mov edi, eax
test edi, edi
jl 0x467ca9
lea ecx, [edi + 5]
push 0x53c7a0
mov dword [ebp - 0x1c], ecx
call fcn.00408186
test eax, eax
mov edx, dword [ebp - 0x1c]
jle 0x467c70
mov ecx, eax
lea eax, [ebp - 0x1c]
sub ecx, edi
push eax
sub ecx, 5
mov eax, esi
call fcn.004061e5
mov byte [ebp - 4], 3
jmp 0x467c8b
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.004061e5
mov byte [ebp - 4], 4
lea edi, [ebx + 0x3c]
call fcn.00404ead
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058b7
mov eax, edi
call fcn.0040686d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004058b7
mov esi, str.from
lea edi, [ebx + 0x1c]
push esi
mov eax, edi
call fcn.00467678
test eax, eax
je 0x467cee
push esi
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004675d1
push dword [eax]
call fcn.004ef8ef
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.004058b7
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], 0
je 0x467d44
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x467d44
call fcn.00427b41
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
call fcn.00427b41
cmp dword [eax + 0xc], 0
je 0x467d44
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00427c4d
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004058b7
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x467d5e
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test eax, eax
mov dword [ebx + 0x10], ecx
jne 0x467d65
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.0042b012
mov eax, dword [ebp - 0x1c]
test eax, eax
pop ecx
pop ecx
je 0x467d8c
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.0042ba91
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