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

Disassembly:
push 0x2e0
mov eax, 0x4f42cc
call fcn.004d382d
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x29c], esi
call fcn.004bdbe3
push eax
lea ecx, [ebp - 0x2bc]
call fcn.004204a1
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.004777e0
pop ecx
pop ecx
call fcn.0043a245
pop ecx
call fcn.004893c0
mov dword [ebp - 0x2a4], eax
cmp dword [ebp + 8], esi
jne 0x440999
call fcn.0047db20
test eax, eax
je 0x4409a3
mov dword [ebp - 0x2a4], reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x2d4]
push eax
call fcn.00429c03
push str.MachineSoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00422827
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 2
call fcn.00422beb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
push str.MachineSoftwareWow6432NodeMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
call fcn.00422827
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call fcn.00422beb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
push str._CurrentUser_SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x264]
call fcn.00422827
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 4
call fcn.00422beb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
mov esi, dword [ebp - 0x2c8]
cmp esi, dword [ebp - 0x2c4]
jbe 0x440a6e
call fcn.004cce91
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 0x440a93
call fcn.004cce91
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.00422d88
test al, al
je 0x440e2a
push dword [ebx + 0xc]
lea eax, [ebp - 0x28c]
push str.SoftwareVOS_s
push eax
call fcn.004777e0
add esp, 0xc
push str.Registry_
push eax
lea eax, [ebp - 0x2a0]
push eax
mov byte [ebp - 4], 5
call fcn.00422a76
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
call fcn.00422da5
push eax
lea eax, [ebp - 0x298]
push edi
push eax
call fcn.0042a9ee
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.004893c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x298]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042001a
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.0042001a
cmp esi, edi
jne 0x440e1a
call fcn.004bdbe3
push eax
lea ecx, [ebp - 0x268]
call fcn.004204a1
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.004204d3
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.00422b35
cmp esi, edi
jne 0x440dfc
mov esi, 0x50206c
push esi
lea ecx, [ebp - 0x26c]
call fcn.00422827
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.00422f20
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x27c], esp
push esi
call fcn.00422827
push dword [ebp - 0x29c]
mov byte [ebp - 4], 9
call fcn.004782c0
add esp, 0x18
test eax, eax
je 0x440ddd
push ecx
mov eax, edi
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00422f20
lea eax, [ebp - 0x2a8]
push eax
call fcn.004854b0
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00422f41
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042001a
push dword [ebx + 0x68]
lea eax, [ebp - 0x2ac]
push 0x50da18
push eax
call fcn.004777e0
add esp, 0xc
mov byte [ebp - 4], 0xc
push dword [eax]
mov eax, edi
push eax
xor eax, eax
call fcn.00443e8e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
call fcn.0042001a
push dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push dword [ebx + 0xc]
push dword [0x5470bc]
push str._s_s._s
push eax
call fcn.004777e0
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.004777e0
add esp, 0x10
call fcn.0043a245
pop ecx
push 1
push ecx
mov eax, edi
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x264]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00422827
push dword [ebp - 0x2a4]
mov byte [ebp - 4], 0xd
call fcn.00478650
add esp, 0x14
test eax, eax
je 0x440dcf
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push esi
call fcn.00422827
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x268]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00422f20
mov byte [ebp - 4], 0x11
push dword [ebx + 0xc]
lea eax, [ebp - 0x280]
push str.SoftwareVOS_s
push eax
call fcn.004777e0
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.00422a76
add esp, 0xc
mov byte [ebp - 4], 0x13
call fcn.004893c0
push eax
mov byte [ebp - 4], 0x14
call fcn.00478650
mov ecx, dword [ebp - 0x280]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042001a
inc dword [ebp - 0x274]
xor edi, edi
jmp 0x440b7c
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.0042001a
lea esi, [ebp - 0x294]
call fcn.00422dcd
jmp 0x440a80
lea eax, [ebp - 0x2ec]
push eax
call fcn.00429c03
push str._Common_Startup_
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.00422827
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 0x16
call fcn.00422beb
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
push str._Startup_
lea ecx, [ebp - 0x264]
call fcn.00422827
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 0x17
call fcn.00422beb
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
mov esi, dword [ebp - 0x2e0]
cmp esi, dword [ebp - 0x2dc]
jbe 0x440ebd
call fcn.004cce91
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 0x440ee2
call fcn.004cce91
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.00422d88
test al, al
je 0x441311
xor edi, edi
push 0x24c
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x260], edi
call fcn.004cd900
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.00422da5
push eax
mov eax, dword [ebp - 0x280]
push eax
call fcn.00422a76
add esp, 0xc
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.00489d60
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.0042001a
cmp byte [ebp - 0x275], 0
je 0x441301
jmp 0x440faa
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 0x50057c
call fcn.00422827
push ecx
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00422827
lea esi, [ebp - 0x294]
mov byte [ebp - 4], 0x19
call fcn.00422da5
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.00422812
mov byte [ebp - 4], 0x15
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.00489d60
add esp, 0x18
mov esi, 0x50206c
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x1a
call fcn.00422827
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
call fcn.00422827
push esi
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x1c
call fcn.00422827
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1d
call fcn.00422827
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.00422f20
call fcn.004a91e0
add esp, 0x10
test eax, eax
je 0x44128a
push 0x50d900
lea eax, [ebp - 0x268]
call fcn.00443f14
push eax
lea ecx, [ebp - 0x268]
call fcn.00422f41
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.004777e0
add esp, 0x10
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x26c]
cmp dword [eax - 0xc], 0
je 0x441137
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2a8]
push 0x50a26c
push eax
call fcn.00422acb
add esp, 0xc
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.00423b68
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.0042001a
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.004777e0
add esp, 0x10
call fcn.0043a245
pop ecx
lea eax, [ebp - 0x234]
push eax
push dword [edi + 0xc]
lea eax, [ebp - 0x2a0]
push dword [0x5470bc]
push str._s_s._s
push eax
call fcn.004777e0
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.00422f20
push ecx
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x280], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00422827
push dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x21
call fcn.00478650
add esp, 0x14
test eax, eax
je 0x44126e
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push esi
call fcn.00422827
push ecx
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x27c], esp
push eax
call fcn.00422827
mov byte [ebp - 4], 0x25
push dword [edi + 0xc]
lea eax, [ebp - 0x284]
push str.SoftwareVOS_s
push eax
call fcn.004777e0
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.00422a76
add esp, 0xc
mov byte [ebp - 4], 0x27
call fcn.004893c0
push eax
mov byte [ebp - 4], 0x28
call fcn.00478650
mov ecx, dword [ebp - 0x284]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0042001a
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440fa2
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x2b0]
lea esi, [ebp - 0x294]
call fcn.00422dcd
jmp 0x440ecf
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push str.Loader_RegisterApp_Startup:_out
push eax
call fcn.004777e0
pop ecx
pop ecx
call fcn.0043a245
pop ecx
lea eax, [ebp - 0x2ec]
push eax
mov byte [ebp - 4], 1
call fcn.00422b95
lea eax, [ebp - 0x2d4]
push eax
mov byte [ebp - 4], 0
call fcn.00422b95
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
call fcn.0042001a
xor eax, eax
inc eax
call fcn.004d38b0
ret