Function at 0x414120
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569d18
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x5bfc00]
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 esi, ecx
mov dword [ebp - 0x548], esi
lea eax, [ebp - 0x53c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 4], 2
push SysReAllocString
mov dword [ebp - 0x544], 0x400
mov dword [ebp - 0x540], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4141c6
lea ecx, [ebp - 0x544]
push ecx
mov ecx, dword [ebp - 0x53c]
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x540]
push eax
push 0
push str.Startup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x53c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0x599e94
lea eax, [ebp - 0x328]
push 0x104
push eax
call fcn.00523a87
push esi
push 0x599e94
lea ecx, [ebp - 0x430]
push 0x104
push ecx
call fcn.00523a87
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x220]
push eax
push str._s_s.lnk
lea ecx, [ebp - 0x118]
push 0x104
push ecx
call fcn.00523a87
mov edx, dword [ebp + 0xc]
add esp, 0x34
push edx
lea eax, [ebp - 0x538]
push 0x104
push eax
call fcn.005241cd
add esp, 8
lea edx, [ebp - 0x118]
mov ecx, esp
mov dword [ebp - 0x540], esp
push edx
call fcn.00401f10
call fcn.004117c0
add esp, 4
test eax, eax
jne 0x414296
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx - 8]
mov eax, 1
sub eax, dword [ecx - 4]
or edx, eax
jge 0x41426f
push 0
lea ecx, [ebp + 0x10]
call fcn.00403190
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push eax
lea ebx, [ebp - 0x328]
lea edi, [ebp - 0x538]
lea esi, [ebp - 0x430]
call fcn.00413e90
mov esi, dword [ebp - 0x548]
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.005221ba
add esp, 8
test eax, eax
js 0x414375
mov ecx, dword [ebp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x414375
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x118]
push 0x59a328
push edx
mov byte [eax + ecx], 0
call fcn.0052407b
push 0x59a328
push esi
mov dword [0x5ca034], eax
call fcn.0052407b
mov dword [0x5ca030], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414310
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00521a0b
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403230
int3