Function at 0x42dfbe
Capabilities:
Enumerate files on windows
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0x2e0
mov eax, 0x4b7be6
call fcn.004a285c
xor esi, esi
mov dword [ebp - 0x298], esi
call fcn.0048f565
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0042149e
mov dword [ebp - 4], esi
call fcn.00471bd0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], esi
jne 0x42e002
call fcn.00467c30
test eax, eax
je 0x42e00c
mov dword [ebp - 0x2ac], SysReAllocStringLen
lea eax, [ebp - 0x2cc]
push eax
call fcn.00423919
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00423442
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.00428d3b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
push str.MachineSoftwareWow6432NodeMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
call fcn.00423442
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00428d3b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
push str._CurrentUser_SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
call fcn.00423442
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.00428d3b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2c0]
cmp esi, dword [ebp - 0x2bc]
jbe 0x42e0d7
call fcn.0049dc81
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], esi
mov esi, dword [ebp - 0x2bc]
cmp dword [ebp - 0x2c0], esi
jbe 0x42e0fc
call fcn.0049dc81
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2a0], esi
lea edi, [ebp - 0x2a4]
lea esi, [ebp - 0x290]
mov dword [ebp - 0x2a4], eax
call fcn.0043bdfc
test al, al
je 0x42e45f
push dword [0x4ea9b0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00461d60
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 5
call fcn.00423691
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.0043bda9
push eax
lea eax, [ebp - 0x27c]
push ebx
push eax
call fcn.0042985e
add esp, 0xc
lea ecx, [ebp - 0x298]
push ecx
push 9
mov byte [ebp - 4], 7
mov eax, dword [eax]
xor ebx, ebx
push ebx
push eax
call fcn.00471bd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0042101a
cmp esi, ebx
jne 0x42e44f
call fcn.0048f565
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042149e
mov byte [ebp - 4], 8
mov dword [ebp - 0x274], ebx
mov eax, 0x208
push eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x280], eax
call fcn.004214d0
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x280]
push ecx
push eax
push dword [ebp - 0x274]
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.00423750
cmp esi, ebx
jne 0x42e431
mov esi, 0x4c4fbc
push esi
lea ecx, [ebp - 0x270]
call fcn.00423442
push ebx
push ebx
push 1
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x29c], esp
mov ecx, esp
push eax
lea ebx, [ebp - 0x270]
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x278], esp
push esi
call fcn.00423442
push dword [ebp - 0x298]
mov byte [ebp - 4], 9
call fcn.00462c50
add esp, 0x18
test eax, eax
je 0x42e412
push dword [0x4ea9ec]
lea eax, [ebp - 0x2a8]
push 0x4c7e28
push eax
call fcn.00461d60
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [eax]
mov eax, ebx
push eax
xor eax, eax
call fcn.004303d1
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push dword [0x4ea9b0]
push dword [0x4ea80c]
push str._s_s._s
push eax
call fcn.00461d60
add esp, 0x10
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x278], esp
push dword [ebp - 0x270]
push dword [ebp - 0x26c]
push str.Loader_RegisterApp_Startup:_registry_integration:__s____s
push eax
call fcn.00461d60
add esp, 0x10
call fcn.0042a2c5
pop ecx
push 1
push ecx
mov eax, ebx
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x268]
mov dword [ebp - 0x29c], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423442
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0xc
call fcn.00463040
add esp, 0x14
test eax, eax
je 0x42e404
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.00423442
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423ad0
mov byte [ebp - 4], 0x10
push dword [0x4ea9b0]
lea eax, [ebp - 0x2b0]
push edi
push eax
call fcn.00461d60
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x29c], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.00423691
add esp, 0xc
mov byte [ebp - 4], 0x12
call fcn.00471bd0
push eax
mov byte [ebp - 4], 0x13
call fcn.00463040
mov ecx, dword [ebp - 0x2b0]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.0042101a
inc dword [ebp - 0x274]
xor ebx, ebx
jmp 0x42e1e9
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x290]
call fcn.0042397d
jmp 0x42e0e9
lea eax, [ebp - 0x2e4]
push eax
call fcn.00423919
push str._Common_Startup_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00423442
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
call fcn.00428d3b
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
push str._Startup_
lea ecx, [ebp - 0x268]
call fcn.00423442
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x16
call fcn.00428d3b
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2d8]
cmp esi, dword [ebp - 0x2d4]
jbe 0x42e4f2
call fcn.0049dc81
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], esi
mov esi, dword [ebp - 0x2d4]
cmp dword [ebp - 0x2d8], esi
jbe 0x42e517
call fcn.0049dc81
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], esi
lea edi, [ebp - 0x2ec]
lea esi, [ebp - 0x290]
mov dword [ebp - 0x2ec], eax
call fcn.0043bdfc
test al, al
je 0x42e95c
and dword [ebp - 0x264], 0
push 0x24c
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.0049e2e0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4c2ec8
call fcn.00423442
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x278], esp
push str..LNK
call fcn.00423442
mov byte [ebp - 4], 0x18
call fcn.0043bda9
push ecx
mov dword [ebp - 0x27c], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.0042342d
push 0x4ea9a8
push esi
call fcn.0047aaf0
add esp, 0xc
lea edi, [ebp - 0x2b0]
mov byte [ebp - 4], 0x14
call fcn.004618b0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2b0]
cmp eax, 0xffffffff
setne bl
add ecx, 0xfffffff0
mov dword [ebp - 0x27c], eax
call fcn.0042101a
test bl, bl
je 0x42e94c
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4c2ec8
call fcn.00423442
push ecx
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.00423442
lea esi, [ebp - 0x290]
mov byte [ebp - 4], 0x1a
call fcn.0043bda9
push ecx
mov dword [ebp - 0x2a0], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
call fcn.0042342d
push 0x4ea9a8
push esi
call fcn.0047aaf0
add esp, 0xc
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.004618b0
add esp, 0xc
mov esi, 0x4c4fbc
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.00423442
push esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x1c
call fcn.00423442
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.00423442
push esi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.00423442
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x26c]
push eax
push ecx
mov byte [ebp - 4], 0x1f
mov eax, edi
mov dword [ebp - 0x2a0], esp
mov ecx, esp
push eax
call fcn.00423ad0
call fcn.004898e0
add esp, 0x14
test eax, eax
je 0x42e8db
push 0x4c7d50
lea eax, [ebp - 0x26c]
call fcn.004305f6
push eax
lea ecx, [ebp - 0x26c]
call fcn.00423af1
push dword [ebp - 0x26c]
lea eax, [ebp - 0x274]
push dword [0x4ea9ec]
push str.__s___exec___s_
push eax
call fcn.00461d60
add esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
je 0x42e782
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2a8]
push 0x4c6a08
push eax
call fcn.004236e6
add esp, 0xc
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.0042447c
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042101a
push ecx
mov eax, esp
mov dword [ebp - 0x2a0], esp
push dword [ebp - 0x274]
lea ecx, [ebp - 0x238]
push ecx
push str.Loader_RegisterApp_Startup:_startup_folders_integration:__s____s
push eax
call fcn.00461d60
add esp, 0x10
call fcn.0042a2c5
pop ecx
lea eax, [ebp - 0x238]
push eax
push dword [0x4ea9b0]
lea eax, [ebp - 0x294]
push dword [0x4ea80c]
push str._s_s._s
push eax
call fcn.00461d60
add esp, 0x14
push 1
push ecx
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x274]
mov dword [ebp - 0x2a0], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x294]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423442
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x22
call fcn.00463040
add esp, 0x14
test eax, eax
je 0x42e8bf
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push esi
call fcn.00423442
push ecx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.00423442
mov byte [ebp - 4], 0x26
push dword [0x4ea9b0]
lea eax, [ebp - 0x29c]
push str.SoftwareVOS_s
push eax
call fcn.00461d60
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x278], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.00423691
add esp, 0xc
mov byte [ebp - 4], 0x28
call fcn.00471bd0
push eax
mov byte [ebp - 4], 0x29
call fcn.00463040
mov ecx, dword [ebp - 0x29c]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42e5fb
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x290]
call fcn.0042397d
jmp 0x42e504
lea eax, [ebp - 0x2e4]
push eax
mov byte [ebp - 4], 1
call fcn.00423951
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 0
call fcn.00423951
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a28df
ret