Function at 0x4579d0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5cfd30
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x457a11
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x457a43
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], 1
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x457a72
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov bl, 2
mov byte [esp + 0x30], bl
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x401
sub eax, edi
or eax, ecx
jge 0x457aac
push edi
lea ecx, [esp + 0x18]
call fcn.00405260
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x457abb
push 0x80070057
call fcn.00404150
push 0x400
push esi
mov dword [esi - 0xc], edi
push 0
mov byte [esi + 0x401], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 1
or eax, ecx
jge 0x457af4
push 1
lea ecx, [esp + 0x18]
call fcn.00405260
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004f5000
sub eax, esi
add esp, 8
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404c40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00404ec0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457b48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x11
push str.loader.exe__start
lea ecx, [esp + 0x1c]
call fcn.0041cc70
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x20]
call fcn.004051d0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x457bf6
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457bc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], ebx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x457be2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x457c02
xor eax, eax
jmp 0x457c18
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457c07
sub eax, edx
js 0x457ab1
cmp eax, dword [esi - 8]
jg 0x457ab1
test ebp, ebp
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x457c30
xor eax, eax
jmp 0x457c46
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457c35
sub eax, edx
js 0x457ab1
cmp eax, dword [ebp - 8]
jg 0x457ab1
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
lea edi, [eax + eax]
jle 0x457c72
mov ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405490
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push edi
push esi
push 1
push 0
push str.iSee
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x457cdc
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457cac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457ccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x457bcc
test esi, esi
jne 0x457ce4
xor eax, eax
jmp 0x457d01
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457cf0
sub eax, edx
js 0x457ab1
cmp eax, dword [esi - 8]
jg 0x457ab1
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x457ca0