joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441c00
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 0x10]
push 0x142
push eax
call edi
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jne 0x441c29
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x84]
jmp 0x441c41
mov eax, dword [esi + 0x10]
push 0x143
push eax
call edi
cmp ebx, eax
jne 0x441c58
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x88]
push 5
push 0
push 0x4708d8
push edx
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x441c60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push edi
push eax
call fcn.004516d0
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x404
push edx
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x10]
push 0x456
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x457
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 0x10]
push 0x458
push edx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x10]
push 0x521
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x521
push ecx
mov dword [esi + 0x68], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 0x10]
push 0x424
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x441d3e
mov ecx, dword [esi + 0x10]
push ebp
push 0x426
push ecx
call edi
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0xc]
push 0x4708d8
push 0x70
mov ebp, eax
call fcn.004515d0
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x90]
mov edx, dword [esi + 0x58]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x9c]
mov edx, dword [esi + 0x68]
push ecx
push edx
call ebp
pop ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x441d5e
mov edx, dword [esi + 0x10]
push 0x142
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x441d7e
mov edx, dword [esi + 0x10]
push 0x143
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x441da2
mov eax, dword [esi + 0x10]
push 0x415
push eax
call edi
mov ecx, dword [esi + 0x38]
push ecx
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x441c61
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push edi
push eax
call fcn.004516d0
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x404
push edx
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x10]
push 0x456
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x457
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 0x10]
push 0x458
push edx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x10]
push 0x521
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x521
push ecx
mov dword [esi + 0x68], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 0x10]
push 0x424
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x441d3e
mov ecx, dword [esi + 0x10]
push ebp
push 0x426
push ecx
call edi
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0xc]
push 0x4708d8
push 0x70
mov ebp, eax
call fcn.004515d0
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x90]
mov edx, dword [esi + 0x58]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x9c]
mov edx, dword [esi + 0x68]
push ecx
push edx
call ebp
pop ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x441d5e
mov edx, dword [esi + 0x10]
push 0x142
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x441d7e
mov edx, dword [esi + 0x10]
push 0x143
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x441da2
mov eax, dword [esi + 0x10]
push 0x415
push eax
call edi
mov ecx, dword [esi + 0x38]
push ecx
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x443100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e6df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00426f90
xor eax, eax
mov dword [esi + 8], 0x473f44
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi], 0x474720
mov dword [esi + 8], 0x4746e4
mov dword [esi + 0xc], 0x4746d4
mov dword [esp + 0x10], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 4
call fcn.00445dc0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 5
call fcn.004489f0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x444970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e7ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
call fcn.00427010
xor edi, edi
mov dword [esi], 0x474820
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00444760
mov dword [esi + 0x24], 0x47481c
mov dword [esi + 0x28], 0x47481c
mov dword [esi], 0x474864
mov dword [esi + 4], 0x474854
mov dword [esi + 0x24], 0x474850
mov dword [esi + 0x28], 0x47484c
mov dword [esi + 0x4c], edi
lea ebx, [esi + 0x78]
mov dword [esi + 0x50], edi
mov ecx, ebx
mov byte [esp + 0x18], 2
mov dword [esi + 0x54], edi
call fcn.00435410
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ebx, [esi + 0x84]
mov ecx, ebx
mov byte [esp + 0x18], 3
call fcn.00435410
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov ecx, dword [0x475a94]
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov edx, dword [0x475a98]
mov dword [eax + 4], edx
mov ecx, dword [0x475a9c]
mov dword [eax + 8], ecx
mov edx, dword [0x475aa0]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], edx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x445530
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
mov eax, dword [0x480630]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
test eax, eax
push ebx
push edi
mov edi, ecx
jne 0x4455be
lea eax, [edi + 0x68]
push eax
call fcn.00444c50
mov ebx, eax
mov eax, dword [esp + 0x28]
test eax, eax
push ebx
je 0x445583
mov ecx, dword [ebx]
call dword [ecx + 0x2c]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x44558f
mov edx, dword [ebx]
push ebx
call dword [edx + 8]
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004570de
add esp, 0x1c
ret 8
mov eax, dword [ebx]
call dword [eax + 0x30]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x4455a5
mov edx, dword [ebx]
push ebx
call dword [edx + 0x38]
mov dword [edi + 0x64], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4455c2
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004570de
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x64]
lea edx, [esp + 0x10]
push edx
test eax, eax
lea eax, [esp + 0x1c]
push eax
lea esi, [edi + 0x68]
push esi
mov dword [esp + 0x1c], 0
push ecx
je 0x445600
call fcn.00406e10
mov ecx, eax
call fcn.00407220
jmp 0x44560c
call fcn.00406e10
mov ecx, eax
call fcn.00407350
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esi + 0xc], edx
call fcn.00444c50
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [esi]
push edx
push esi
call dword [ecx + 0x1c]
cmp eax, 2
jne 0x44565b
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x18]
push eax
call ebp
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
jmp 0x4455d0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x445674
mov edx, dword [ebx]
push 0
push ebx
call dword [edx + 0x18]
push eax
call ebp
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x18]
mov edx, dword [edi + 0x60]
mov ebx, eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00443f80
push ebx
mov ecx, edi
call fcn.00443ea0
call fcn.004154a0
cmp dword [eax + 0x2c], 3
je 0x4456a5
push 5
push ebx
call ebp
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.004570de
add esp, 0x1c
ret 8

Function at 0x445de0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x445e1a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x445e1a
mov eax, dword [esp + 8]
test eax, eax
je 0x445e0b
mov eax, dword [esi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x446340
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4463d0
push ebx
mov ebx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4463b1
lea ecx, [esp + 0xc]
push ecx
push esi
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x28]
push str.SystemRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
jne 0x4463c6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call edi
pop edi
pop ebx
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x446400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x480630]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
xor eax, ebp
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x446486
mov byte [esp + 0x18], al
mov ecx, 0x41
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44649f
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.004570de
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x446486
mov edx, dword [ebp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x20e]
push ecx
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x44659d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0x313]
push ecx
push str.Group
push eax
mov dword [esp + 0x18], 0x105
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
add esi, 0x109
push esi
push str.Path
push eax
mov dword [esp + 0x18], 0x105
call edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x446c20
Capabilities:
Delete file
Get disk information
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x480630]
xor eax, ebp
push ebx
xor ecx, ecx
push esi
mov word [esp + 0xd], cx
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 8]
push edi
mov byte [esp + 0x13], cl
mov byte [esp + 0x128], cl
mov dword [esp + 0x1c], eax
xor eax, eax
lea edx, [esp + 0x128]
mov ecx, 0x41
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
push edx
xor edi, edi
push 0x105
mov byte [esp + 0x18], 0
xor esi, esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x18]
jge 0x446d64
mov al, byte [esp + edi + 0x128]
test al, al
jne 0x446d56
push 3
lea eax, [esp + edi + 0x129]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00457970
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, eax
cmp esi, 3
jne 0x446d56
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x41
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push str._sRsTest.ini
lea ecx, [esp + 0x28]
push 0x105
push ecx
call fcn.004037a0
add esp, 0x10
lea edx, [esp + 0x20]
push edx
push 0x47110c
push 0x474a04
push 0x474a00
call ebx
lea eax, [esp + 0x20]
push eax
push 0
push 0x474a04
push 0x474a00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x446d3a
mov esi, 5
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
call ebx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [esp + 0x14]
inc edi
cmp esi, 3
mov dword [esp + 0x14], edi
jne 0x446c90
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x446d86
cmp esi, 3
jne 0x446d86
mov ecx, dword [ebp + 0xc]
dec ecx
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00457970
add esp, 0xc
jmp 0x446d8b
mov byte [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret 8
Function at 0x448510
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x449170
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x480630]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, ebp
mov dword [esp + 0x124], eax
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x41
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x449201
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push str.AppData
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
setg cl
dec ecx
test esi, ecx
mov esi, dword [ebp + 0xc]
je 0x44925d
push esi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x105
lea eax, [esp + 0x18]
cmp byte [eax], 0
je 0x44923b
inc eax
dec ecx
jne 0x449230
jmp 0x44925d
test ecx, ecx
je 0x44925d
mov eax, 0x105
sub eax, ecx
push str.Application_Data
mov ecx, 0x105
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x20]
push edx
call fcn.004084d0
mov ecx, 0x105
lea eax, [esp + 0x18]
cmp byte [eax], 0
je 0x449271
inc eax
dec ecx
jne 0x449266
jmp 0x449293
test ecx, ecx
je 0x449293
mov eax, 0x105
sub eax, ecx
push str.MicrosoftInternet_ExplorerQuick_Launch
mov ecx, 0x105
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x20]
push edx
call fcn.004084d0
push esi
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret
Function at 0x4492c0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jne 0x449326
mov eax, dword [esp + 8]
push edi
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
push 0
push str.Common_Programs
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x449326
cmp byte [esi], 0
jne 0x44934c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x449338
pop esi
pop ebx
add esp, 0xc
ret
cmp ebx, 0x7fffffff
ja 0x44934c
push str.ProfilesAll_UsersStart_MenuPrograms
push ebx
push esi
call fcn.00408a60
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x449360
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, dword [esp + 0x10]
jne 0x4493c0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.Common_Programs
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x4493e0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xa0
mov eax, dword [0x480630]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x449445
mov ecx, dword [esp + 0xac]
push ecx
push esi
call fcn.00449360
add esp, 8
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004570de
add esp, 0xa0
ret
lea edx, [esp + 4]
push edx
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x449490
mov edx, dword [esp + 4]
lea eax, [esp + 0xac]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
push 0
push str.Programs
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4494c4
mov ecx, dword [esp + 0xac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0xac]
cmp eax, 0x7fffffff
ja 0x4494c4
push str.Start_MenuPrograms
push eax
push esi
call fcn.00408a60
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004570de
add esp, 0xa0
ret
Function at 0x449780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x480630]
xor eax, ebp
mov dword [esp + 0x11c], eax
push ebx
xor eax, eax
cmp edx, eax
push edi
mov ebx, ecx
je 0x44988d
cmp esi, eax
je 0x44988d
mov byte [esp + 0x18], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push str.SOFTWARERising_s
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x24]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44986a
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push str.datapath
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449830
sub eax, edx
mov dword [esp + 0x14], eax
je 0x44985f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449844
sub eax, edx
sub ebx, eax
dec ebx
push ebx
push 0x4708a4
push esi
call fcn.00457cbf
add esp, 0xc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449870
sub eax, edx
pop edi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, ebp
call fcn.004570de
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret