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

Disassembly:
push 0x2e0
mov eax, 0x4befe2
call fcn.004a9a34
xor esi, esi
mov dword [ebp - 0x298], esi
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004249f9
mov dword [ebp - 4], esi
call fcn.004723a0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], esi
jne 0x42dff4
call fcn.00468430
test eax, eax
je 0x42dffe
mov dword [ebp - 0x2ac], SysReAllocStringLen
lea eax, [ebp - 0x2cc]
push eax
call fcn.0042392d
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.0042342e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.00428b64
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.0042342e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00428b64
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.0042342e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.00428b64
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 0x42e0c9
call fcn.004a4c91
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 0x42e0ee
call fcn.004a4c91
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.004239bc
test al, al
je 0x42e451
push dword [0x4f3ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.004622a0
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 5
call fcn.0042367d
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.004238da
push eax
lea eax, [ebp - 0x27c]
push ebx
push eax
call fcn.00429687
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.004723a0
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 0x42e441
call fcn.004964ca
push eax
lea ecx, [ebp - 0x26c]
call fcn.004249f9
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.004214a8
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.0042373c
cmp esi, ebx
jne 0x42e423
mov esi, 0x4cc12c
push esi
lea ecx, [ebp - 0x270]
call fcn.0042342e
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.00423b01
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x278], esp
push esi
call fcn.0042342e
push dword [ebp - 0x298]
mov byte [ebp - 4], 9
call fcn.00463100
add esp, 0x18
test eax, eax
je 0x42e404
push dword [0x4f3b10]
lea eax, [ebp - 0x2a8]
push 0x4cf090
push eax
call fcn.004622a0
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [eax]
mov eax, ebx
push eax
xor eax, eax
call fcn.004303c3
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 [0x4f3ad0]
push dword [0x4f392c]
push str._s_s._s
push eax
call fcn.004622a0
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.004622a0
add esp, 0x10
call fcn.0042a0ee
pop ecx
push 1
push ecx
mov eax, ebx
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423b01
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x268]
mov dword [ebp - 0x29c], esp
mov ecx, esp
push eax
call fcn.00423b01
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0042342e
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0xc
call fcn.004634f0
add esp, 0x14
test eax, eax
je 0x42e3f6
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423b01
mov byte [ebp - 4], 0x10
push dword [0x4f3ad0]
lea eax, [ebp - 0x2b0]
push edi
push eax
call fcn.004622a0
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.0042367d
add esp, 0xc
mov byte [ebp - 4], 0x12
call fcn.004723a0
push eax
mov byte [ebp - 4], 0x13
call fcn.004634f0
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 0x42e1db
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.00423991
jmp 0x42e0db
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042392d
push str._Common_Startup_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.0042342e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
call fcn.00428b64
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.0042342e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x16
call fcn.00428b64
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 0x42e4e4
call fcn.004a4c91
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 0x42e509
call fcn.004a4c91
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.004239bc
test al, al
je 0x42e94e
and dword [ebp - 0x264], 0
push 0x24c
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.004a52f0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4ca098
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x278], esp
push str..LNK
call fcn.0042342e
mov byte [ebp - 4], 0x18
call fcn.004238da
push ecx
mov dword [ebp - 0x27c], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00423419
push 0x4f3ac8
push esi
call fcn.0047c3d0
add esp, 0xc
lea edi, [ebp - 0x2b0]
mov byte [ebp - 4], 0x14
call fcn.00461df0
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 0x42e93e
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4ca098
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.0042342e
lea esi, [ebp - 0x290]
mov byte [ebp - 4], 0x1a
call fcn.004238da
push ecx
mov dword [ebp - 0x2a0], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
call fcn.00423419
push 0x4f3ac8
push esi
call fcn.0047c3d0
add esp, 0xc
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00461df0
add esp, 0xc
mov esi, 0x4cc12c
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.0042342e
push esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x1c
call fcn.0042342e
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.0042342e
push esi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.0042342e
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.00423b01
call fcn.0048b0b0
add esp, 0x14
test eax, eax
je 0x42e8cd
push 0x4cefa8
lea eax, [ebp - 0x26c]
call fcn.004305e8
push eax
lea ecx, [ebp - 0x26c]
call fcn.00423b22
push dword [ebp - 0x26c]
lea eax, [ebp - 0x274]
push dword [0x4f3b10]
push str.__s___exec___s_
push eax
call fcn.004622a0
add esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
je 0x42e774
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2a8]
push 0x4cdb90
push eax
call fcn.004236d2
add esp, 0xc
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.004244ad
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.004622a0
add esp, 0x10
call fcn.0042a0ee
pop ecx
lea eax, [ebp - 0x238]
push eax
push dword [0x4f3ad0]
lea eax, [ebp - 0x294]
push dword [0x4f392c]
push str._s_s._s
push eax
call fcn.004622a0
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.00423b01
push ecx
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x294]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00423b01
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0042342e
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x22
call fcn.004634f0
add esp, 0x14
test eax, eax
je 0x42e8b1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push esi
call fcn.0042342e
push ecx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.0042342e
mov byte [ebp - 4], 0x26
push dword [0x4f3ad0]
lea eax, [ebp - 0x29c]
push str.SoftwareVOS_s
push eax
call fcn.004622a0
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.0042367d
add esp, 0xc
mov byte [ebp - 4], 0x28
call fcn.004723a0
push eax
mov byte [ebp - 4], 0x29
call fcn.004634f0
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 0x42e5ed
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x290]
call fcn.00423991
jmp 0x42e4f6
lea eax, [ebp - 0x2e4]
push eax
mov byte [ebp - 4], 1
call fcn.00423965
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 0
call fcn.00423965
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9ab7
ret