Function at 0x466a20
Capabilities:
Accept command line arguments
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568521
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0xd4]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
jne 0x466aaa
push 1
push str.mailru::setup_params::parse_command_line
push str.setup_params.cpp
push 0x46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00403e00
push 0x5a15c8
lea edx, [ebp - 0xc8]
push edx
call fcn.004b9346
xor ecx, ecx
mov byte [ebp - 0xc9], bl
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xd4], ebx
jle 0x466c58
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x466ae0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403510
push 2
push ebx
push 0x58b744
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00464520
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401e10
mov ecx, dword [ebp - 0x1c]
push 9
push str.uninstall
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00407840
test eax, eax
jne 0x466b3a
mov byte [ebp - 0xc9], 1
jmp 0x466c20
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.004661a0
test al, al
jne 0x466c20
call fcn.0046a1ae
mov dword [ebp - 0xe0], eax
call fcn.00469f6b
push ebx
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.00469ea0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x466b77
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0xf0]
call fcn.00469ec8
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 1
call fcn.00419f30
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00464a80
cmp dword [ebp - 0x34], 8
jb 0x466bbb
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0xe0]
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x466c20
push ebx
lea ecx, [ebp - 0xf4]
mov edi, eax
call fcn.00469ea0
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x466bf6
cmp eax, 0xffffffff
jae 0x466bf6
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0xf4]
and esi, edi
call fcn.00469ec8
cmp esi, ebx
je 0x466c1a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edi, dword [ebp - 0xd0]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x466c39
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xd8]
inc ecx
mov dword [ebp - 0xdc], ecx
cmp ecx, dword [ebp - 0xd4]
jl 0x466ac4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [edi + 0x2b], bl
je 0x466c73
push 0xa
push str.mrasputnik
lea ecx, [edi + 0x30]
call fcn.00403510
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5c17f4
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 3
call fcn.00404ef0
push 4
xor edx, edx
mov esi, 7
push str.GUID
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403510
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 6
call fcn.00404b10
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x466d0a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], edi
jb 0x466d1f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
xor ecx, ecx
mov eax, 7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x54], ebx
jne 0x466df5
push 4
xor edx, edx
push str.GUID
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00403510
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x98], edi
jb 0x466d6a
mov esi, dword [eax + 0x84]
jmp 0x466d70
lea esi, [eax + 0x84]
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x48]
jae 0x466d7b
lea edi, [ebp - 0x48]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x466d8d
mov eax, 0xd
jmp 0x466dab
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0xec]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 9
jb 0x466dc8
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b8946
add esp, 4
mov edi, 8
cmp byte [ebp - 0xc9], bl
je 0x466e0f
mov ecx, dword [ebp - 0xd0]
mov dl, byte [ecx + 0x1c]
push 0x5acf94
lea eax, [ebp - 0xc9]
push eax
mov byte [ebp - 0xc9], dl
call fcn.004b9346
mov ecx, dword [ebp - 0xd0]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
add ecx, 0x84
push eax
call fcn.00403410
jmp 0x466dcd
cmp dword [ebp - 0x50], edi
jb 0x466e20
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0xec]
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp eax, ebx
je 0x466e41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret 4