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

Disassembly:
push 0x2e4
mov eax, 0x4cfd03
call fcn.004b1859
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x2a0], ebx
call fcn.0049d1fb
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0042149e
mov dword [ebp - 4], ebx
call fcn.00478650
mov dword [ebp - 0x2b0], eax
cmp dword [ebp + 0xc], ebx
jne 0x430db8
call fcn.0046cbb0
test eax, eax
je 0x430dc2
mov dword [ebp - 0x2b0], SysReAllocStringLen
lea eax, [ebp - 0x2d0]
push eax
call fcn.004237b9
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.0042341f
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call fcn.00429deb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
push str.MachineSoftwareWow6432NodeMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
call fcn.0042341f
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.00429deb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
push str._CurrentUser_SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
call fcn.0042341f
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 4
call fcn.00429deb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2c4]
cmp esi, dword [ebp - 0x2c0]
jbe 0x430e8d
call fcn.004aba61
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2c4], esi
jbe 0x430eb2
call fcn.004aba61
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2a8], esi
lea edi, [ebp - 0x2ac]
lea esi, [ebp - 0x294]
mov dword [ebp - 0x2ac], eax
call fcn.0042395a
test al, al
je 0x431224
mov eax, dword [ebp - 0x284]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00466a00
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 5
call fcn.0042366e
add esp, 0xc
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 6
call fcn.0043eaf7
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x29c]
push eax
call fcn.0042a90e
add esp, 0xc
lea ecx, [ebp - 0x2a0]
push ecx
push 9
mov byte [ebp - 4], 7
mov eax, dword [eax]
push ebx
push eax
call fcn.00478650
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x28c]
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 0x431214
call fcn.0049d1fb
push eax
lea ecx, [ebp - 0x268]
call fcn.0042149e
mov byte [ebp - 4], 8
mov dword [ebp - 0x270], ebx
mov eax, 0x208
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x278], eax
call fcn.004214c6
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x278]
push ecx
push eax
push dword [ebp - 0x270]
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x268]
mov esi, eax
call fcn.0042372d
cmp esi, ebx
jne 0x4311f6
mov esi, 0x4d9c38
push esi
lea ecx, [ebp - 0x26c]
call fcn.0042341f
push ebx
push ebx
push 1
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x268]
mov dword [ebp - 0x298], esp
mov ecx, esp
push eax
lea ebx, [ebp - 0x26c]
call fcn.00423aca
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x280], esp
push esi
call fcn.0042341f
push dword [ebp - 0x2a0]
mov byte [ebp - 4], 9
call fcn.004677d0
add esp, 0x18
test eax, eax
je 0x4311d7
mov ebx, dword [ebp - 0x284]
push dword [ebx + 0x5c]
lea eax, [ebp - 0x2b4]
push 0x4e1150
push eax
call fcn.00466a00
add esp, 0xc
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x26c]
push eax
xor eax, eax
call fcn.0043297b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push dword [ebx + 0xc]
push dword [0x509f88]
push str._s_s._s
push eax
call fcn.00466a00
add esp, 0x10
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x280], esp
push dword [ebp - 0x26c]
push dword [ebp - 0x268]
push str.Loader_RegisterApp_Startup:_registry_integration:__s____s
push eax
call fcn.00466a00
add esp, 0x10
call fcn.0042c5e1
pop ecx
push 1
push ecx
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x280], esp
mov ecx, esp
push eax
call fcn.00423aca
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x264]
mov dword [ebp - 0x298], esp
mov ecx, esp
push eax
call fcn.00423aca
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x27c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0042341f
push dword [ebp - 0x2b0]
mov byte [ebp - 4], 0xc
call fcn.00467bc0
add esp, 0x14
test eax, eax
je 0x4311c9
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push esi
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x268]
mov dword [ebp - 0x280], esp
mov ecx, esp
push eax
call fcn.00423aca
mov byte [ebp - 4], 0x10
push dword [ebx + 0xc]
lea eax, [ebp - 0x2a4]
push edi
push eax
call fcn.00466a00
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x298], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.0042366e
add esp, 0xc
mov byte [ebp - 4], 0x12
call fcn.00478650
push eax
mov byte [ebp - 4], 0x13
call fcn.00467bc0
mov ecx, dword [ebp - 0x2a4]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
inc dword [ebp - 0x270]
xor ebx, ebx
jmp 0x430fa9
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x294]
call fcn.00423977
jmp 0x430e9f
lea eax, [ebp - 0x2e8]
push eax
call fcn.004237b9
push str._Common_Startup_
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x14
call fcn.0042341f
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0x15
call fcn.00429deb
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
push str._Startup_
lea ecx, [ebp - 0x264]
call fcn.0042341f
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0x16
call fcn.00429deb
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2dc]
cmp esi, dword [ebp - 0x2d8]
jbe 0x4312b7
call fcn.004aba61
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x2d8]
cmp dword [ebp - 0x2dc], esi
jbe 0x4312dc
call fcn.004aba61
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], esi
lea edi, [ebp - 0x2f0]
lea esi, [ebp - 0x294]
mov dword [ebp - 0x2f0], eax
call fcn.0042395a
test al, al
je 0x4316f2
push 0x24c
lea eax, [ebp - 0x25c]
push ebx
push eax
mov dword [ebp - 0x260], ebx
call fcn.004ac220
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x284]
push ebx
push ebx
push ecx
mov edi, esp
mov dword [ebp - 0x27c], esp
push str..LNK
call fcn.0043eaf7
push eax
push edi
call fcn.0042366e
add esp, 0xc
push ebx
lea ecx, [ebp - 0x2a4]
call fcn.00479070
add esp, 0x14
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2a4]
cmp eax, 0xffffffff
setne byte [ebp - 0x271]
add ecx, 0xfffffff0
mov dword [ebp - 0x278], eax
call fcn.0042101a
cmp byte [ebp - 0x271], bl
je 0x4316e2
push dword [ebp - 0x284]
push ebx
push ebx
push ecx
mov dword [ebp - 0x27c], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push 0x4d9c3c
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.0042341f
lea esi, [ebp - 0x294]
mov byte [ebp - 4], 0x18
call fcn.0043eaf7
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.0042340a
mov byte [ebp - 4], 0x14
call fcn.00466550
add esp, 0xc
push ebx
lea ecx, [ebp - 0x264]
call fcn.00479070
add esp, 0x14
mov esi, 0x4d9c38
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x19
call fcn.0042341f
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1a
call fcn.0042341f
push esi
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
call fcn.0042341f
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1c
call fcn.0042341f
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
push ecx
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x264]
mov dword [ebp - 0x2a8], esp
mov ecx, esp
push eax
call fcn.00423aca
call fcn.0048f0f0
add esp, 0x14
cmp eax, ebx
je 0x431671
push 0x4e1038
lea eax, [ebp - 0x268]
call fcn.00432ba0
push eax
lea ecx, [ebp - 0x268]
call fcn.00423aeb
push dword [ebp - 0x268]
mov edi, dword [ebp - 0x284]
push dword [edi + 0x5c]
lea eax, [ebp - 0x270]
push str.__s___exec___s_
push eax
call fcn.00466a00
add esp, 0x10
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x26c]
cmp dword [eax - 0xc], ebx
je 0x43151f
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2b4]
push 0x4df03c
push eax
call fcn.004236c3
add esp, 0xc
mov byte [ebp - 4], 0x1f
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x270]
push eax
call fcn.00424437
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xfffffff0
call fcn.0042101a
push ecx
mov eax, esp
mov dword [ebp - 0x2a8], esp
push dword [ebp - 0x270]
lea ecx, [ebp - 0x234]
push ecx
push str.Loader_RegisterApp_Startup:_startup_folders_integration:__s____s
push eax
call fcn.00466a00
add esp, 0x10
call fcn.0042c5e1
pop ecx
lea eax, [ebp - 0x234]
push eax
push dword [edi + 0xc]
lea eax, [ebp - 0x29c]
push dword [0x509f88]
push str._s_s._s
push eax
call fcn.00466a00
add esp, 0x14
push 1
push ecx
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2a8], esp
mov ecx, esp
push eax
call fcn.00423aca
push ecx
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00423aca
push ecx
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x280], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0042341f
push dword [ebp - 0x2b0]
mov byte [ebp - 4], 0x20
call fcn.00467bc0
add esp, 0x14
cmp eax, ebx
je 0x431655
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push esi
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.0042341f
mov byte [ebp - 4], 0x24
push dword [edi + 0xc]
lea eax, [ebp - 0x298]
push str.SoftwareVOS_s
push eax
call fcn.00466a00
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x280], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.0042366e
add esp, 0xc
mov byte [ebp - 4], 0x26
call fcn.00478650
push eax
mov byte [ebp - 4], 0x27
call fcn.00467bc0
mov ecx, dword [ebp - 0x298]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43138f
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x294]
call fcn.00423977
jmp 0x4312c9
lea eax, [ebp - 0x2e8]
push eax
mov byte [ebp - 4], 1
call fcn.0042378d
lea eax, [ebp - 0x2d0]
push eax
mov byte [ebp - 4], bl
call fcn.0042378d
mov ecx, dword [ebp - 0x2b8]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004b18dc
ret