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

Disassembly:
push 0x2e0
mov eax, 0x4befa2
call fcn.004a9a35
xor esi, esi
mov dword [ebp - 0x298], esi
call fcn.004964ca
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004214a8
mov dword [ebp - 4], esi
call fcn.00472310
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], esi
jne 0x42e02c
call fcn.00468320
test eax, eax
je 0x42e036
mov dword [ebp - 0x2ac], SysReAllocStringLen
lea eax, [ebp - 0x2cc]
push eax
call fcn.00425631
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00423456
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.00428b9c
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.00423456
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00428b9c
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.00423456
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.00428b9c
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 0x42e101
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 0x42e126
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.004239ac
test al, al
je 0x42e489
push dword [0x4f3ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00462190
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 5
call fcn.004236a5
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.00423902
push eax
lea eax, [ebp - 0x27c]
push ebx
push eax
call fcn.004296bf
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.00472310
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 0x42e479
call fcn.004964ca
push eax
lea ecx, [ebp - 0x26c]
call fcn.004214a8
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.00423764
cmp esi, ebx
jne 0x42e45b
mov esi, 0x4cc12c
push esi
lea ecx, [ebp - 0x270]
call fcn.00423456
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.00423af1
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x278], esp
push esi
call fcn.00423456
push dword [ebp - 0x298]
mov byte [ebp - 4], 9
call fcn.00462ff0
add esp, 0x18
test eax, eax
je 0x42e43c
push dword [0x4f3b10]
lea eax, [ebp - 0x2a8]
push 0x4cf090
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [eax]
mov eax, ebx
push eax
xor eax, eax
call fcn.004303fb
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.00462190
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.00462190
add esp, 0x10
call fcn.0042a126
pop ecx
push 1
push ecx
mov eax, ebx
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x268]
mov dword [ebp - 0x29c], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x284], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423456
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0xc
call fcn.004633e0
add esp, 0x14
test eax, eax
je 0x42e42e
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x278], esp
mov ecx, esp
push eax
call fcn.00423af1
mov byte [ebp - 4], 0x10
push dword [0x4f3ad0]
lea eax, [ebp - 0x2b0]
push edi
push eax
call fcn.00462190
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.004236a5
add esp, 0xc
mov byte [ebp - 4], 0x12
call fcn.00472310
push eax
mov byte [ebp - 4], 0x13
call fcn.004633e0
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 0x42e213
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.00423981
jmp 0x42e113
lea eax, [ebp - 0x2e4]
push eax
call fcn.00425631
push str._Common_Startup_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00423456
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
call fcn.00428b9c
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.00423456
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x16
call fcn.00428b9c
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 0x42e51c
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 0x42e541
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.004239ac
test al, al
je 0x42e986
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.00423456
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x278], esp
push str..LNK
call fcn.00423456
mov byte [ebp - 4], 0x18
call fcn.00423902
push ecx
mov dword [ebp - 0x27c], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00423441
push 0x4f3ac8
push esi
call fcn.0047c340
add esp, 0xc
lea edi, [ebp - 0x2b0]
mov byte [ebp - 4], 0x14
call fcn.00461ce0
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 0x42e976
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4ca098
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.00423456
lea esi, [ebp - 0x290]
mov byte [ebp - 4], 0x1a
call fcn.00423902
push ecx
mov dword [ebp - 0x2a0], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
call fcn.00423441
push 0x4f3ac8
push esi
call fcn.0047c340
add esp, 0xc
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 0x14
call fcn.00461ce0
add esp, 0xc
mov esi, 0x4cc12c
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.00423456
push esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x1c
call fcn.00423456
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.00423456
push esi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.00423456
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.00423af1
call fcn.0048b0b0
add esp, 0x14
test eax, eax
je 0x42e905
push 0x4cefa8
lea eax, [ebp - 0x26c]
call fcn.00430620
push eax
lea ecx, [ebp - 0x26c]
call fcn.00423b12
push dword [ebp - 0x26c]
lea eax, [ebp - 0x274]
push dword [0x4f3b10]
push str.__s___exec___s_
push eax
call fcn.00462190
add esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
je 0x42e7ac
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2a8]
push 0x4cdb90
push eax
call fcn.004236fa
add esp, 0xc
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.0042449d
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.00462190
add esp, 0x10
call fcn.0042a126
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.00462190
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.00423af1
push ecx
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x294]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423456
push dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x22
call fcn.004633e0
add esp, 0x14
test eax, eax
je 0x42e8e9
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push esi
call fcn.00423456
push ecx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.00423456
mov byte [ebp - 4], 0x26
push dword [0x4f3ad0]
lea eax, [ebp - 0x29c]
push str.SoftwareVOS_s
push eax
call fcn.00462190
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.004236a5
add esp, 0xc
mov byte [ebp - 4], 0x28
call fcn.00472310
push eax
mov byte [ebp - 4], 0x29
call fcn.004633e0
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 0x42e625
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x290]
call fcn.00423981
jmp 0x42e52e
lea eax, [ebp - 0x2e4]
push eax
mov byte [ebp - 4], 1
call fcn.00423955
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 0
call fcn.00423955
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9ab8
ret