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

Disassembly:
push 0xffffffffffffffff
push 0x513060
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452881
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.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4528b3
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.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4528e2
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 0x45291c
push edi
lea ecx, [esp + 0x18]
call fcn.00405200
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x45292b
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 0x452964
push 1
lea ecx, [esp + 0x18]
call fcn.00405200
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e2fb0
sub eax, esi
add esp, 8
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404c00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00404e60
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 0x4529b8
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.0041b2d0
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x20]
call fcn.00405170
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 0x452a66
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 0x452a11
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 0x452a35
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 0x452a52
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 0x452a72
xor eax, eax
jmp 0x452a88
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x452a77
sub eax, edx
js 0x452921
cmp eax, dword [esi - 8]
jg 0x452921
test ebp, ebp
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x452aa0
xor eax, eax
jmp 0x452ab6
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x452aa5
sub eax, edx
js 0x452921
cmp eax, dword [ebp - 8]
jg 0x452921
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 0x452ae2
mov ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405430
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 0x452b4c
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 0x452b1c
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 0x452b3c
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 0x452a3c
test esi, esi
jne 0x452b54
xor eax, eax
jmp 0x452b71
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x452b60
sub eax, edx
js 0x452921
cmp eax, dword [esi - 8]
jg 0x452921
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 0x452b10