joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b51d0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push 0
push closesocket
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4b5214
lea ecx, [esp + 8]
push ecx
push str..scr
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str..scr
push closesocket
call esi
test eax, eax
je 0x4b5249
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call esi
test eax, eax
jne 0x4b52ca
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x50d39c
push ecx
call fcn.004f175f
lea edx, [esp + 0x20]
push str.scrfile
push edx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b5304
push edi
push str.scrfile
call fcn.004fa6c0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov edx, dword [esp + 8]
push edx
call ebx
pop esi
mov eax, 1
pop ebx
add esp, 0x18c
ret
Function at 0x4b5320
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push 0
push closesocket
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4b5364
lea ecx, [esp + 8]
push ecx
push str..msc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str..msc
push closesocket
call esi
test eax, eax
je 0x4b5399
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call esi
test eax, eax
jne 0x4b541a
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x50d39c
push ecx
call fcn.004f175f
lea edx, [esp + 0x20]
push str.mscfile
push edx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b5454
push edi
push str.mscfile
call fcn.004fa6c0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov edx, dword [esp + 8]
push edx
call ebx
pop esi
mov eax, 1
pop ebx
add esp, 0x18c
ret
Function at 0x4b5470
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push 0
push closesocket
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4b54b4
lea ecx, [esp + 8]
push ecx
push str..reg
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str..reg
push closesocket
call esi
test eax, eax
je 0x4b54e9
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call esi
test eax, eax
jne 0x4b556a
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x50d39c
push ecx
call fcn.004f175f
lea edx, [esp + 0x20]
push str.regfile
push edx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b55a4
push edi
push str.regfile
call fcn.004fa6c0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov edx, dword [esp + 8]
push edx
call ebx
pop esi
mov eax, 1
pop ebx
add esp, 0x18c
ret
Function at 0x4b55c0
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x210
push ebp
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push 0
push closesocket
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4b5604
lea ecx, [esp + 8]
push ecx
push str.MSCFile_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 8]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.MSCFile_shellopencommand
push closesocket
call esi
test eax, eax
je 0x4b5639
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x210
ret
push edi
lea ecx, [esp + 0x1c]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, 0x25
mov cl, 0x22
mov byte [esp + 0x11], al
mov byte [esp + 0x15], al
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
push edx
push eax
lea ecx, [esp + 0x124]
push str._smmc.exe__s
push ecx
mov byte [esp + 0x22], 0x31
mov byte [esp + 0x24], 0x20
mov byte [esp + 0x26], 0x2a
mov byte [esp + 0x27], 0
call fcn.004f175f
lea edx, [esp + 0x12c]
push edx
call fcn.004fa6c0
add esp, 0x14
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call ebp
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x210
ret
Function at 0x4b5a00
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.Applicationsexplorer.exe_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5a38
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0x10c]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x10c]
push 0x5287b8
push edx
lea eax, [esp + 0x14]
push str._sexplorer.exe__s
push eax
call fcn.004f175f
lea ecx, [esp + 0x1c]
push ecx
call fcn.004fa6c0
lea edx, [esp + 0x20]
push edx
call fcn.004fa6c0
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret

Function at 0x4b5ad0
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.Applications_regedit.exe_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5b08
or eax, 0xffffffff
add esp, 0x20c
ret
push esi
push edi
lea ecx, [esp + 0x14]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov al, 0x22
lea edx, [esp + 0xc]
mov byte [esp + 0xc], al
mov byte [esp + 0xf], al
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x11c]
push str._s_regedit.exe__s
push ecx
mov byte [esp + 0x1d], 0x25
mov byte [esp + 0x1e], 0x31
mov byte [esp + 0x20], 0
call fcn.004f175f
lea edx, [esp + 0x124]
push edx
call fcn.004fa6c0
add esp, 0x14
mov esi, eax
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret
Function at 0x4b5bb0
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.Applicationsiexplore.exe_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5be8
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
push 0x5287b8
push edx
lea eax, [esp + 0x114]
push str._sProgram_FilesInternet_Exploreriexplore.exe__s
push eax
mov byte [esp + 0x1e], 0
call fcn.004f175f
lea ecx, [esp + 0x11c]
push ecx
call fcn.004fa6c0
mov edx, dword [esp + 0x1c]
add esp, 0x14
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret

Function at 0x4b5c70
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.Applicationscmd.exe_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5ca8
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0x10c]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x10c]
push 0x5287b8
push edx
lea eax, [esp + 0x14]
push str._scmd.exe__s
push eax
call fcn.004f175f
lea ecx, [esp + 0x1c]
push ecx
call fcn.004fa6c0
lea edx, [esp + 0x20]
push edx
call fcn.004fa6c0
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret
Function at 0x4b5d40
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x304
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.Applications_notepad.exe_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5d78
or eax, 0xffffffff
add esp, 0x304
ret
push esi
push edi
lea ecx, [esp + 0x20c]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0xc]
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc]
push 0x5287b8
push eax
lea ecx, [esp + 0x114]
push str._s_notepad.exe__s
push ecx
call fcn.004f175f
lea edx, [esp + 0x11c]
push edx
call fcn.004fa6c0
add esp, 0x14
mov esi, eax
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x304
ret
Function at 0x4b5e10
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x390
lea eax, [esp + 0x290]
push ebx
push ebp
push esi
push edi
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x2a0]
lea edx, [esp + 0x1a0]
push ecx
push str._sinternat.exe
push edx
call fcn.004f175f
lea eax, [esp + 0x1ac]
push eax
call fcn.004fa6c0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov esi, eax
call fcn.004fa6c0
add esp, 0x14
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4b5f70
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.internat
push eax
mov dword [esp + 0x30], 0x100
mov dword [esp + 0x2c], 1
mov byte [esp + 0xb8], 0
call edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.internat
push ecx
call edi
test eax, eax
jne 0x4b5f54
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b5f54
lea edx, [esp + 0xa0]
lea eax, [esp + 0x20]
push edx
push 0x50d39c
push eax
call fcn.004f175f
lea ecx, [esp + 0x2c]
push str.internat.exe
push ecx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b5f70
lea edx, [esp + 0x1a0]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4b5f70
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push eax
push str.internat
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push str..DEFAULTControl_PanelInput_Method
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push reloc.WS2_32.dll_closesocket
call ebx
test eax, eax
jne 0x4b5fcf
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.Show_Status
push ecx
mov dword [esp + 0x2c], 1
call ebp
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x390
ret
Function at 0x4b5ff0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x390
lea eax, [esp + 0x290]
push ebx
push ebp
push esi
push edi
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x2a0]
lea edx, [esp + 0x1a0]
push ecx
push str._sctfmon.exe
push edx
call fcn.004f175f
lea eax, [esp + 0x1ac]
push eax
call fcn.004fa6c0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov esi, eax
call fcn.004fa6c0
add esp, 0x14
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4b6150
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.hklm_ctfmon
push eax
mov dword [esp + 0x30], 0x100
mov dword [esp + 0x2c], 1
mov byte [esp + 0xb8], 0
call edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.hklm_ctfmon
push ecx
call edi
test eax, eax
jne 0x4b6134
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b6134
lea edx, [esp + 0xa0]
lea eax, [esp + 0x20]
push edx
push 0x50d39c
push eax
call fcn.004f175f
lea ecx, [esp + 0x2c]
push str.ctfmon.exe
push ecx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b6150
lea edx, [esp + 0x1a0]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4b6150
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push eax
push str.hklm_ctfmon
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push str..DEFAULTControl_PanelInput_Method
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push reloc.WS2_32.dll_closesocket
call ebx
test eax, eax
jne 0x4b61af
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.Show_Status
push ecx
mov dword [esp + 0x2c], 1
call ebp
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x390
ret
Function at 0x4b61d0
Capabilities:
Get common file path
Set registry value

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x108]
push esi
push edi
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.autocheck_autochk_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.004fa6c0
push str.SYSTEMControlSet001ControlSession_Manager
mov esi, eax
call fcn.004fa6c0
add esp, 8
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
push ecx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b6272
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 8]
not ecx
push ecx
push esi
push 1
push eax
push str.BootExecute
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret

Function at 0x4b6290
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.https_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b62c8
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push str._sProgram_FilesInternet_Exploreriexplore.exe
push eax
mov byte [esp + 0x1a], 0
call fcn.004f175f
lea ecx, [esp + 0x118]
push ecx
call fcn.004fa6c0
mov edx, dword [esp + 0x18]
add esp, 0x10
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret
Function at 0x4b6350
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREClientsStartMenuInternetIEXPLORE.EXE_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b6388
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push str._sProgram_FilesInternet_Exploreriexplore.exe
push eax
mov byte [esp + 0x1a], 0
call fcn.004f175f
lea ecx, [esp + 0x118]
push ecx
call fcn.004fa6c0
mov edx, dword [esp + 0x18]
add esp, 0x10
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret

Function at 0x4b6410
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
lea eax, [esp]
mov dword [esp], 0
push eax
push 3
push 0
push 0x50d604
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b6445
or eax, 0xffffffff
add esp, 0x18c
ret
push esi
push edi
push str.exefile
call fcn.004fa6c0
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
mov esi, eax
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call edi
test eax, eax
jne 0x4b64d7
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x50d39c
push ecx
call fcn.004f175f
lea edx, [esp + 0x20]
push str.exefile
push edx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x4b64f3
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x18c
ret