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

Disassembly:
push 0x2e0
mov eax, 0x4d297f
call fcn.004b3bd9
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x29c], esi
call fcn.0049eef3
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00425064
push ecx
mov dword [ebp - 4], esi
mov eax, esp
mov dword [ebp - 0x284], esp
push str.Loader_RegisterApp_Startup:_in
push eax
call fcn.00464a80
pop ecx
pop ecx
call fcn.00430537
pop ecx
call fcn.004749b0
mov dword [ebp - 0x2a4], eax
cmp dword [ebp + 8], esi
jne 0x4358ae
call fcn.0046a820
test eax, eax
je 0x4358b8
mov dword [ebp - 0x2a4], reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x2d4]
push eax
call fcn.00423a00
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00423607
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 2
call fcn.004239a1
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.00423607
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call fcn.004239a1
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.00423607
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 4
call fcn.004239a1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2c8]
cmp esi, dword [ebp - 0x2c4]
jbe 0x435983
call fcn.004ad751
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2c8], esi
jbe 0x4359a8
call fcn.004ad751
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2b4], esi
lea edi, [ebp - 0x2b8]
lea esi, [ebp - 0x294]
mov dword [ebp - 0x2b8], eax
call fcn.00423bf4
test al, al
je 0x435d3f
push dword [ebx + 0xc]
lea eax, [ebp - 0x28c]
push str.SoftwareVOS_s
push eax
call fcn.00464a80
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x2a0]
push eax
mov byte [ebp - 4], 5
call fcn.00423856
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
call fcn.00423b76
push eax
lea eax, [ebp - 0x298]
push edi
push eax
call fcn.0042a7f3
add esp, 0xc
lea ecx, [ebp - 0x29c]
push ecx
push 9
mov byte [ebp - 4], 7
mov eax, dword [eax]
xor edi, edi
push edi
push eax
call fcn.004749b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x298]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.0042101a
cmp esi, edi
jne 0x435d2f
call fcn.0049eef3
push eax
lea ecx, [ebp - 0x268]
call fcn.00425064
mov byte [ebp - 4], 8
mov dword [ebp - 0x274], edi
mov eax, 0x208
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x288], eax
call fcn.004214a5
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x288]
push ecx
push eax
push dword [ebp - 0x274]
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x268]
mov esi, eax
call fcn.00423915
cmp esi, edi
jne 0x435d11
mov esi, 0x4de948
push esi
lea ecx, [ebp - 0x26c]
call fcn.00423607
push edi
push edi
push 1
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x268]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
lea edi, [ebp - 0x26c]
call fcn.00423d39
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x27c], esp
push esi
call fcn.00423607
push dword [ebp - 0x29c]
mov byte [ebp - 4], 9
call fcn.00465560
add esp, 0x18
test eax, eax
je 0x435cf2
push ecx
mov eax, edi
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00423d39
lea eax, [ebp - 0x2a8]
push eax
call fcn.004713b0
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00423d5a
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebx + 0x68]
lea eax, [ebp - 0x2ac]
push 0x4e71e0
push eax
call fcn.00464a80
add esp, 0xc
mov byte [ebp - 4], 0xc
push dword [eax]
mov eax, edi
push eax
xor eax, eax
call fcn.00438c31
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push dword [ebx + 0xc]
push dword [0x518d20]
push str._s_s._s
push eax
call fcn.00464a80
add esp, 0x10
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [ebp - 0x27c], esp
push dword [ebp - 0x26c]
push dword [ebp - 0x268]
push str.Loader_RegisterApp_Startup:_registry_integration:__s____s
push eax
call fcn.00464a80
add esp, 0x10
call fcn.00430537
pop ecx
push 1
push ecx
mov eax, edi
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00423d39
push ecx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x264]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00423d39
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423607
push dword [ebp - 0x2a4]
mov byte [ebp - 4], 0xd
call fcn.004658f0
add esp, 0x14
test eax, eax
je 0x435ce4
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push esi
call fcn.00423607
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x268]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00423d39
mov byte [ebp - 4], 0x11
push dword [ebx + 0xc]
lea eax, [ebp - 0x280]
push str.SoftwareVOS_s
push eax
call fcn.00464a80
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x284], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.00423856
add esp, 0xc
mov byte [ebp - 4], 0x13
call fcn.004749b0
push eax
mov byte [ebp - 4], 0x14
call fcn.004658f0
mov ecx, dword [ebp - 0x280]
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 - 0x274]
xor edi, edi
jmp 0x435a91
push dword [ebp - 0x29c]
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.00423bc9
jmp 0x435995
lea eax, [ebp - 0x2ec]
push eax
call fcn.00423a00
push str._Common_Startup_
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.00423607
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 0x16
call fcn.004239a1
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
push str._Startup_
lea ecx, [ebp - 0x264]
call fcn.00423607
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 0x17
call fcn.004239a1
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
mov esi, dword [ebp - 0x2e0]
cmp esi, dword [ebp - 0x2dc]
jbe 0x435dd2
call fcn.004ad751
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x2dc]
cmp dword [ebp - 0x2e0], esi
jbe 0x435df7
call fcn.004ad751
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2b4], esi
lea edi, [ebp - 0x2b8]
lea esi, [ebp - 0x294]
mov dword [ebp - 0x2b8], eax
call fcn.00423bf4
test al, al
je 0x436226
xor edi, edi
push 0x24c
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x260], edi
call fcn.004adf10
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
push edi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push str..LNK
mov dword [ebp - 0x280], eax
call fcn.00423b76
push eax
mov eax, dword [ebp - 0x280]
push eax
call fcn.00423856
add esp, 0xc
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.004752b0
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2ac]
cmp eax, 0xffffffff
setne byte [ebp - 0x275]
add ecx, 0xfffffff0
mov dword [ebp - 0x298], eax
call fcn.0042101a
cmp byte [ebp - 0x275], 0
je 0x436216
jmp 0x435ebf
mov ebx, dword [ebp - 0x2b0]
xor edi, edi
push ebx
push edi
push edi
push ecx
mov dword [ebp - 0x270], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x4dcf70
call fcn.00423607
push ecx
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00423607
lea esi, [ebp - 0x294]
mov byte [ebp - 4], 0x19
call fcn.00423b76
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.004235f2
mov byte [ebp - 4], 0x15
call fcn.004645d0
add esp, 0xc
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.004752b0
add esp, 0x18
mov esi, 0x4de948
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x1a
call fcn.00423607
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.00423607
push esi
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x1c
call fcn.00423607
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.00423607
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
push ecx
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x264]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
lea ebx, [ebp - 0x28c]
call fcn.00423d39
call fcn.00489a60
add esp, 0x10
test eax, eax
je 0x43619f
push 0x4e70c8
lea eax, [ebp - 0x268]
call fcn.00438cdc
push eax
lea ecx, [ebp - 0x268]
call fcn.00423d5a
push dword [ebp - 0x268]
mov edi, dword [ebp - 0x2b0]
push dword [edi + 0x68]
lea eax, [ebp - 0x274]
push str.__s___exec___s_
push eax
call fcn.00464a80
add esp, 0x10
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x26c]
cmp dword [eax - 0xc], 0
je 0x43604c
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2a8]
push 0x4e4420
push eax
call fcn.004238ab
add esp, 0xc
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.004249ab
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042101a
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push dword [ebp - 0x274]
lea ecx, [ebp - 0x234]
push ecx
push str.Loader_RegisterApp_Startup:_startup_folders_integration:__s____s
push eax
call fcn.00464a80
add esp, 0x10
call fcn.00430537
pop ecx
lea eax, [ebp - 0x234]
push eax
push dword [edi + 0xc]
lea eax, [ebp - 0x2a0]
push dword [0x518d20]
push str._s_s._s
push eax
call fcn.00464a80
add esp, 0x14
push 1
push ecx
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x274]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00423d39
push ecx
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00423d39
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x280], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00423607
push dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x21
call fcn.004658f0
add esp, 0x14
test eax, eax
je 0x436183
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push esi
call fcn.00423607
push ecx
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00423607
mov byte [ebp - 4], 0x25
push dword [edi + 0xc]
lea eax, [ebp - 0x284]
push str.SoftwareVOS_s
push eax
call fcn.00464a80
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x280], esp
push str.IntegratedStartup
push eax
push ecx
call fcn.00423856
add esp, 0xc
mov byte [ebp - 4], 0x27
call fcn.004749b0
push eax
mov byte [ebp - 4], 0x28
call fcn.004658f0
mov ecx, dword [ebp - 0x284]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x274]
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], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435eb7
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x2b0]
lea esi, [ebp - 0x294]
call fcn.00423bc9
jmp 0x435de4
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push str.Loader_RegisterApp_Startup:_out
push eax
call fcn.00464a80
pop ecx
pop ecx
call fcn.00430537
pop ecx
lea eax, [ebp - 0x2ec]
push eax
mov byte [ebp - 4], 1
call fcn.00423975
lea eax, [ebp - 0x2d4]
push eax
mov byte [ebp - 4], 0
call fcn.00423975
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004b3c5c
ret