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

Disassembly:
push 0x2e0
mov eax, 0x4bf232
call fcn.004a9ca4
xor esi, esi
mov dword [ebp - 0x298], esi
call fcn.0049673f
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004249c2
mov dword [ebp - 4], esi
call fcn.00472430
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], esi
jne 0x42e013
call fcn.00468270
test eax, eax
je 0x42e01d
mov dword [ebp - 0x2ac], SysReAllocStringLen
lea eax, [ebp - 0x2cc]
push eax
call fcn.00425647
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00423416
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.00428b7a
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.00423416
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00428b7a
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.00423416
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.00428b7a
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 0x42e0e8
call fcn.004a4f01
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 0x42e10d
call fcn.004a4f01
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.00423944
test al, al
je 0x42e470
push dword [0x4f4ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00462050
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 5
call fcn.00423665
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.0043bff4
push eax
lea eax, [ebp - 0x27c]
push ebx
push eax
call fcn.004296a6
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.00472430
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 0x42e460
call fcn.0049673f
push eax
lea ecx, [ebp - 0x26c]
call fcn.004249c2
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.0042149b
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.00423724
cmp esi, ebx
jne 0x42e442
mov esi, 0x4cd12c
push esi
lea ecx, [ebp - 0x270]
call fcn.00423416
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.00423a92
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x278], esp
push esi
call fcn.00423416
push dword [ebp - 0x298]
mov byte [ebp - 4], 9
call fcn.00462f40
add esp, 0x18
test eax, eax
je 0x42e423
push dword [0x4f4b10]
lea eax, [ebp - 0x2a8]
push 0x4d0090
push eax
call fcn.00462050
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [eax]
mov eax, ebx
push eax
xor eax, eax
call fcn.004303de
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 [0x4f4ad0]
push dword [0x4f492c]
push str._s_s._s
push eax
call fcn.00462050
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.00462050
add esp, 0x10
call fcn.0042a10d
pop ecx
push 1
push ecx
mov eax, ebx
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423a92
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x268]
mov dword [ebp - 0x29c], esp
mov ecx, esp
push eax
call fcn.00423a92
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423416
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0xc
call fcn.00463330
add esp, 0x14
test eax, eax
je 0x42e415
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.00423416
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423a92
mov byte [ebp - 4], 0x10
push dword [0x4f4ad0]
lea eax, [ebp - 0x2b0]
push edi
push eax
call fcn.00462050
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.00423665
add esp, 0xc
mov byte [ebp - 4], 0x12
call fcn.00472430
push eax
mov byte [ebp - 4], 0x13
call fcn.00463330
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 0x42e1fa
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.00423919
jmp 0x42e0fa
lea eax, [ebp - 0x2e4]
push eax
call fcn.00425647
push str._Common_Startup_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00423416
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
call fcn.00428b7a
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.00423416
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x16
call fcn.00428b7a
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 0x42e503
call fcn.004a4f01
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 0x42e528
call fcn.004a4f01
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.00423944
test al, al
je 0x42e96d
and dword [ebp - 0x264], 0
push 0x24c
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.004a5560
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4cb098
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x278], esp
push str..LNK
call fcn.00423416
mov byte [ebp - 4], 0x18
call fcn.0043bff4
push ecx
mov dword [ebp - 0x27c], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00423401
push 0x4f4ac8
push esi
call fcn.0047c3d0
add esp, 0xc
lea edi, [ebp - 0x2b0]
mov byte [ebp - 4], 0x14
call fcn.00461ba0
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 0x42e95d
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4cb098
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.00423416
lea esi, [ebp - 0x290]
mov byte [ebp - 4], 0x1a
call fcn.0043bff4
push ecx
mov dword [ebp - 0x2a0], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
call fcn.00423401
push 0x4f4ac8
push esi
call fcn.0047c3d0
add esp, 0xc
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00461ba0
add esp, 0xc
mov esi, 0x4cd12c
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.00423416
push esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x1c
call fcn.00423416
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.00423416
push esi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.00423416
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.00423a92
call fcn.0048b320
add esp, 0x14
test eax, eax
je 0x42e8ec
push 0x4cffa8
lea eax, [ebp - 0x26c]
call fcn.00430603
push eax
lea ecx, [ebp - 0x26c]
call fcn.00423ab3
push dword [ebp - 0x26c]
lea eax, [ebp - 0x274]
push dword [0x4f4b10]
push str.__s___exec___s_
push eax
call fcn.00462050
add esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
je 0x42e793
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2a8]
push 0x4ceb90
push eax
call fcn.004236ba
add esp, 0xc
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.00424476
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.00462050
add esp, 0x10
call fcn.0042a10d
pop ecx
lea eax, [ebp - 0x238]
push eax
push dword [0x4f4ad0]
lea eax, [ebp - 0x294]
push dword [0x4f492c]
push str._s_s._s
push eax
call fcn.00462050
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.00423a92
push ecx
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x294]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00423a92
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423416
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x22
call fcn.00463330
add esp, 0x14
test eax, eax
je 0x42e8d0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push esi
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.00423416
mov byte [ebp - 4], 0x26
push dword [0x4f4ad0]
lea eax, [ebp - 0x29c]
push str.SoftwareVOS_s
push eax
call fcn.00462050
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.00423665
add esp, 0xc
mov byte [ebp - 4], 0x28
call fcn.00472430
push eax
mov byte [ebp - 4], 0x29
call fcn.00463330
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 0x42e60c
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x290]
call fcn.00423919
jmp 0x42e515
lea eax, [ebp - 0x2e4]
push eax
mov byte [ebp - 4], 1
call fcn.004238ed
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 0
call fcn.004238ed
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9d27
ret