joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481e10
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [ebp - 0x31f]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x32c], esi
mov byte [ebp - 0x320], 0
call fcn.004a3190
add esp, 0xc
mov dword [ebp - 0x33c], 0x104
mov dword [ebp - 0x334], edi
cmp dword [0x4cd38c], edi
je 0x481e6f
call fcn.0048fcc0
mov dword [0x4cd38c], edi
push str.fileRemoveOldRegPointers
call fcn.0047fb10
add esp, 4
lea ecx, [ebp - 0x328]
push ecx
push 0x20019
xor ebx, ebx
push ebx
mov edx, esi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48201a
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x340]
push ecx
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x330]
push ecx
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x334]
push ecx
mov ecx, dword [ebp - 0x328]
push ebx
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x320]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x330], ebx
je 0x481f9f
mov ecx, dword [ebp - 0x328]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x338]
push edx
lea eax, [ebp - 0x110]
push eax
push edi
push ecx
mov dword [ebp - 0x338], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, ebx
inc edi
inc ebx
cmp edx, dword [ebp - 0x330]
ja 0x481f9f
cmp eax, 0x103
je 0x481f9f
test eax, eax
jne 0x481f01
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047f1b0
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.0047d280
test eax, eax
jne 0x481f01
push str.fileRemoveOldRegPointer_File_does_NOT_Exist
lea esi, [ebp - 0x218]
call fcn.0047fb10
add esp, 4
push 0
push 0
push 0x4b17de
push 0x4b17de
mov edx, esi
mov ecx, 0x4b17de
call fcn.0048f730
add esp, 0x10
jmp 0x481f01
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4cd38c]
mov dword [ebp - 0x324], 0
test ecx, ecx
jle 0x482009
mov edi, dword [ebp - 0x324]
lea esi, [ebp - 0x110]
call fcn.0048fb30
push str.fileRemoveOldRegPointer_DeleteRegValue
call fcn.0047fb10
mov edi, dword [ebp - 0x32c]
add esp, 4
mov eax, esi
mov ebx, 0x80000001
call fcn.0048e230
mov eax, dword [ebp - 0x324]
mov ecx, dword [0x4cd38c]
inc eax
mov dword [ebp - 0x324], eax
cmp eax, ecx
jl 0x481fc0
test ecx, ecx
je 0x48201a
call fcn.0048fcc0
mov dword [0x4cd38c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x482090
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x4bbc38
mov esi, ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
je 0x4820dc
push ebx
push 0x84000300
push ebx
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x4820ef
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 2
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp - 0x18]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + edx - 0x14], bl
call edi
push esi
call edi
cmp byte [ebp - 0x14], 0x32
jne 0x482166
mov eax, 0x4bbc44
mov edi, str.SoftwareBillP_StudiosWinPatrol
mov ebx, 0x80000002
call fcn.0048e230
mov eax, str.RegNumber
call fcn.0048e230
mov eax, 0x4bbc44
mov ebx, 0x80000001
call fcn.0048e230
mov eax, str.RegNumber
call fcn.0048e230
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x482e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
push 0x1f40001
mov esi, ecx
call ebx
push str.LaunchWinPatrolExplorer
mov dword [ebp - 0x22c], eax
call fcn.0047fb10
add esp, 4
lea edi, [ebp - 0x228]
call fcn.0047e3e0
push str.WinPatrolEx.exe
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x120]
call fcn.00401000
mov edx, dword [0x4c78c4]
push 1
mov eax, edi
push eax
push esi
lea ecx, [ebp - 0x120]
push ecx
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jae 0x482ebf
push 0x104
lea edx, [ebp - 0x120]
mov ecx, 0x31b
call fcn.00499890
movzx eax, word [0x4d1e04]
mov edx, dword [0x4c78c4]
add esp, 4
push eax
push 0x40010
push 0x4cd200
lea ecx, [ebp - 0x120]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov eax, dword [ebp - 0x22c]
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret

Function at 0x483900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x48392c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
call fcn.0047f1b0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x110]
call fcn.0047e550
add esp, 8
push 0xa
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push str.explore
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x1f
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x4844d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x73c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x73c], eax
mov esi, ecx
mov al, 0x41
push edi
mov dword [ebp - 0x730], esi
mov byte [ebp - 0x729], al
nop
movsx ecx, al
push ecx
push 0x4bc4e8
lea edx, [ebp - 0x24]
push 0x20
push edx
call fcn.00402830
add esp, 0x10
push 0x400
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x4845e4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
mov dword [ebp - 0x738], 0
call ebx
cmp eax, 0x304
jg 0x4845e4
push esi
mov edx, 0x7ffffffe
mov eax, 0x304
lea ecx, [ebp - 0x328]
call fcn.00401000
test esi, esi
je 0x4845e4
lea edx, [ebp - 0x728]
push edx
call ebx
push esi
mov edi, eax
call ebx
cmp eax, edi
jl 0x4845e4
lea esi, [ebp - 0x328]
mov eax, esi
push eax
call ebx
cmp byte [ebp - 0x328], 0
mov dword [ebp - 0x734], eax
je 0x4845de
lea esp, [esp]
cmp dword [ebp - 0x734], edi
jl 0x4845de
mov bl, byte [esi + edi]
lea ecx, [ebp - 0x728]
push ecx
push esi
mov byte [esi + edi], 0
call fcn.00483b10
test eax, eax
jne 0x4845c6
mov dword [ebp - 0x738], esi
cmp dword [ebp - 0x738], 0
mov byte [esi + edi], bl
jne 0x48460d
dec dword [ebp - 0x734]
inc esi
cmp byte [esi], 0
jne 0x4845a0
mov esi, dword [ebp - 0x730]
mov al, byte [ebp - 0x729]
inc al
mov byte [ebp - 0x729], al
cmp al, 0x5b
jl 0x484500
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x728]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x730]
add ecx, eax
mov eax, dword [ebp - 0x73c]
push ecx
lea edx, [ebp - 0x24]
push edx
push str._s_s
push 0x104
push eax
call fcn.00402830
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x484660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x110], 0
call fcn.004a3190
push 0x104
push 0
push ebx
call fcn.004a3190
add esp, 0x18
lea ecx, [ebp - 0x250]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x254], esi
cmp esi, 0xffffffff
je 0x4847db
lea edx, [ebp - 0x224]
push edx
push str.AC_s
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00402830
add esp, 0x10
mov edx, 0x104
mov eax, ebx
cmp byte [eax], 0
je 0x4846f2
inc eax
dec edx
jne 0x4846e7
jmp 0x484717
test edx, edx
je 0x484717
mov ecx, 0x104
sub ecx, edx
lea edx, [ebp - 0x110]
mov eax, 0x104
push edx
sub eax, ecx
add ecx, ebx
mov edx, 0x7fffffff
call fcn.00401000
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4847bf
lea ecx, [ebp - 0x224]
push ecx
push 0x3b
push str._cAC_s
lea edx, [ebp - 0x110]
push 0x104
push edx
call fcn.00402830
add esp, 0x14
mov eax, 0x104
mov ecx, ebx
cmp byte [ecx], 0
je 0x484761
inc ecx
dec eax
jne 0x484756
jmp 0x4847a9
test eax, eax
je 0x4847a9
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [edx + ebx]
je 0x48479f
lea edi, [ebp - 0x110]
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x48479b
mov dl, byte [edi + eax]
test dl, dl
je 0x48479b
mov byte [eax], dl
inc eax
dec esi
dec ecx
jne 0x484787
jmp 0x48479f
test ecx, ecx
jne 0x4847a0
dec eax
mov esi, dword [ebp - 0x254]
mov byte [eax], 0
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48472d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x486f10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi - 1], 0x5c
je 0x486f46
mov word [eax + edi], 0x5c
push edi
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x114]
call fcn.00401000
mov edx, 0x104
lea eax, [ebp - 0x114]
cmp byte [eax], 0
je 0x486f72
inc eax
dec edx
jne 0x486f67
jmp 0x486f9a
test edx, edx
je 0x486f9a
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x4c4924
lea ecx, [ebp + ecx - 0x114]
mov edx, 0x7fffffff
call fcn.00401000
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
jne 0x486fcc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
mov esi, eax
test eax, eax
je 0x4870f1
mov ebx, edi
lea eax, [ebp - 0x114]
sub ebx, eax
mov edx, 0x104
lea eax, [ebp - 0x114]
jmp 0x486ff0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x487009
mov cl, byte [ebx + eax]
test cl, cl
je 0x487009
mov byte [eax], cl
inc eax
dec edx
jne 0x486ff0
jmp 0x48700d
test edx, edx
jne 0x48700e
dec eax
mov byte [eax], 0
mov eax, 0x104
lea ecx, [ebp - 0x114]
lea esp, [esp]
cmp byte [ecx], 0
je 0x48702b
inc ecx
dec eax
jne 0x487020
jmp 0x487071
test eax, eax
je 0x487071
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [ebp + edx - 0x114]
je 0x48706d
lea edi, [ebp - 0x228]
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x487069
mov dl, byte [edi + eax]
test dl, dl
je 0x487069
mov byte [eax], dl
inc eax
dec esi
dec ecx
jne 0x487055
jmp 0x48706d
test ecx, ecx
jne 0x48706e
dec eax
mov byte [eax], 0
test byte [ebp - 0x254], 0x10
je 0x4870aa
cmp byte [ebp - 0x228], 0x2e
je 0x4870c9
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4870aa
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x25c]
push ecx
dec eax
push eax
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00486f10
add esp, 0x14
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [ebp - 0x25c]
add esp, 0xc
test eax, eax
jne 0x4870e9
mov edx, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
test esi, esi
jne 0x486fe0
jmp 0x4870eb
xor esi, esi
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x48bb90
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
push esi
push edi
je 0x48bbd0
mov esi, dword [0x4c6444]
mov edi, dword [0x4c6448]
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
jmp 0x48bbdc
mov esi, dword [ebp - 0x214]
mov edi, dword [ebp - 0x214]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonNotify
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x108]
call fcn.00401000
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48bc0c
inc eax
dec edx
jne 0x48bc01
jmp 0x48bc34
test edx, edx
je 0x48bc34
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push 0x4b17dc
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
mov eax, 0xff
lea ecx, [ebp - 0x108]
nop
cmp byte [ecx], 0
je 0x48bc4b
inc ecx
dec eax
jne 0x48bc40
jmp 0x48bc72
test eax, eax
je 0x48bc72
mov ecx, 0xff
sub ecx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, 0xff
sub eax, ecx
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
push 0x104
lea ecx, [ebp - 0x108]
push str.DLLName
push ecx
lea ecx, [ebp - 0x210]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
lea edx, [ebp - 0x108]
push str.OldName
push edx
lea ecx, [ebp - 0x210]
mov edx, 0x80000002
call fcn.0048e390
lea eax, [ebp - 0x108]
push str.DLLName
push eax
mov ecx, 0x4b17de
mov edx, 0x80000002
call fcn.0048e390
add esp, 0x10
cmp dword [0x4d2afc], 0
je 0x48bce5
mov dword [0x4c6444], esi
mov dword [0x4c6448], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x48bd00
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
push esi
push edi
je 0x48bd40
mov esi, dword [0x4c6444]
mov edi, dword [0x4c6448]
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
jmp 0x48bd4c
mov esi, dword [ebp - 0x214]
mov edi, dword [ebp - 0x214]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonNotify
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x108]
call fcn.00401000
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48bd7c
inc eax
dec edx
jne 0x48bd71
jmp 0x48bda4
test edx, edx
je 0x48bda4
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push 0x4b17dc
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
mov eax, 0xff
lea ecx, [ebp - 0x108]
nop
cmp byte [ecx], 0
je 0x48bdbb
inc ecx
dec eax
jne 0x48bdb0
jmp 0x48bde2
test eax, eax
je 0x48bde2
mov ecx, 0xff
sub ecx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, 0xff
sub eax, ecx
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
push 0x104
lea ecx, [ebp - 0x108]
push str.OldName
push ecx
lea ecx, [ebp - 0x210]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
lea edx, [ebp - 0x108]
push str.DLLName
push edx
lea ecx, [ebp - 0x210]
mov edx, 0x80000002
call fcn.0048e390
lea eax, [ebp - 0x108]
push str.OldName
push eax
mov ecx, 0x4b17de
mov edx, 0x80000002
call fcn.0048e390
add esp, 0x10
cmp dword [0x4d2afc], 0
je 0x48be55
mov dword [0x4c6444], esi
mov dword [0x4c6448], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x48be70
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
push ebx
push esi
push edi
je 0x48beba
mov eax, dword [0x4c6444]
mov ecx, dword [0x4c6448]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], ecx
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
push 0xff
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
lea ecx, [ebp - 0x418]
mov edx, 0x80000002
mov byte [ebp - 0x108], 0
call fcn.0048e050
add esp, 0xc
test eax, eax
je 0x48c096
lea edx, [ebp - 0x418]
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
xor edi, edi
mov dword [ebp - 0x41c], ecx
test ecx, ecx
jle 0x48bff3
mov al, byte [ebp + edi - 0x418]
cmp al, 0x2c
je 0x48bf28
cmp al, 0x20
je 0x48bf28
mov byte [ebp + esi - 0x210], al
inc esi
jmp 0x48bfea
lea eax, [ebp - 0x318]
push eax
lea ebx, [ebp - 0x210]
mov byte [ebp + edi - 0x210], 0
call fcn.0047fcc0
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.00483b10
test eax, eax
je 0x48bfdb
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48bf73
inc eax
dec edx
jne 0x48bf68
jmp 0x48bf9d
test edx, edx
je 0x48bf9d
lea eax, [ebp - 0x210]
push eax
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
mov eax, 0xff
lea ecx, [ebp - 0x108]
cmp byte [ecx], 0
je 0x48bfb3
inc ecx
dec eax
jne 0x48bfa8
jmp 0x48bfdb
test eax, eax
je 0x48bfdb
mov ecx, 0xff
sub ecx, eax
mov eax, 0xff
sub eax, ecx
push 0x4b5db4
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
mov ecx, dword [ebp - 0x41c]
xor esi, esi
mov byte [ebp - 0x210], 0
inc edi
cmp edi, ecx
jl 0x48bf0c
lea ecx, [ebp - 0x318]
push ecx
lea ebx, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
call fcn.0047fcc0
mov edx, dword [ebp + 8]
add esp, 4
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00483b10
test eax, eax
lea eax, [ebp - 0x108]
je 0x48c067
mov edx, 0xff
nop
cmp byte [eax], 0
je 0x48c03b
inc eax
dec edx
jne 0x48c030
jmp 0x48c079
test edx, edx
je 0x48c079
mov ecx, 0xff
sub ecx, edx
lea edx, [ebp - 0x210]
mov eax, 0xff
push edx
sub eax, ecx
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00401000
jmp 0x48c079
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x108]
mov byte [eax + ecx - 1], 0
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
lea ecx, [ebp - 0x108]
mov edx, 0x80000002
call fcn.0048e390
add esp, 8
cmp dword [0x4d2afc], 0
je 0x48c0b6
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x424]
mov dword [0x4c6444], edx
mov dword [0x4c6448], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x48c0d0
Capabilities:
Get common file path
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
push esi
push edi
je 0x48c110
mov esi, dword [0x4c6444]
mov edi, dword [0x4c6448]
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
jmp 0x48c11c
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x134]
push 0x104
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, 0x104
lea eax, [ebp - 0x130]
lea esp, [esp]
cmp byte [eax], 0
je 0x48c14b
inc eax
dec edx
jne 0x48c140
jmp 0x48c173
test edx, edx
je 0x48c173
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push str.Userinit.exe_
lea ecx, [ebp + ecx - 0x130]
mov edx, 0x7fffffff
call fcn.00401000
push str.Userinit
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea ecx, [ebp - 0x130]
mov edx, 0x80000002
call fcn.0048e390
push 0xfa
push 0x4b7c94
lea ecx, [ebp - 0x24]
push 0x20
push ecx
call fcn.00402830
lea edx, [ebp - 0x130]
push edx
push str.SoftwareBillP_StudiosWinPatrolRun
lea ecx, [ebp - 0x24]
mov edx, 0x80000002
call fcn.0048e390
add esp, 0x20
cmp dword [0x4d2afc], 0
je 0x48c1d3
mov dword [0x4c6444], esi
mov dword [0x4c6448], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret

Function at 0x48c1f0
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
push esi
push edi
je 0x48c22d
mov esi, dword [0x4c6444]
mov edi, dword [0x4c6448]
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
jmp 0x48c233
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
push str.Shell
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov ecx, str.Explorer.exe
mov edx, 0x80000002
call fcn.0048e390
push 0xfb
push 0x4b7c94
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00402830
push str.Explorer.exe
push str.SoftwareBillP_StudiosWinPatrolRun
lea ecx, [ebp - 0x24]
mov edx, 0x80000002
call fcn.0048e390
add esp, 0x20
cmp dword [0x4d2afc], 0
je 0x48c290
mov dword [0x4c6444], esi
mov dword [0x4c6448], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
Function at 0x48c2a0
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d2afc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
je 0x48c2f1
mov ecx, dword [0x4c6444]
mov edx, dword [0x4c6448]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], edx
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0x20106
push ebx
push esi
push edi
push 0x104
push str.UserInit
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea ecx, [ebp - 0x108]
mov edx, 0x80000002
xor ebx, ebx
call fcn.0048e050
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x20c]
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x108]
push ecx
call edi
xor ecx, ecx
test eax, eax
jle 0x48c3e5
mov dl, 0x2c
nop
cmp byte [ebp + ecx - 0x108], dl
je 0x48c363
inc ecx
cmp ecx, eax
jl 0x48c350
jmp 0x48c3e5
lea edx, [ecx + 1]
cmp eax, edx
jne 0x48c38f
lea eax, [ebp - 0x108]
mov byte [ebp + ecx - 0x108], bl
push eax
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x20c]
call fcn.00401000
jmp 0x48c3e0
lea esi, [ebp + ecx - 0x107]
push esi
call edi
xor ecx, ecx
test eax, eax
jle 0x48c3e0
nop
cmp byte [ecx + esi], 0x20
jne 0x48c3ad
inc ecx
cmp ecx, eax
jl 0x48c3a0
jmp 0x48c3e0
lea edx, [ecx + esi]
lea eax, [ebp - 0x20c]
mov ecx, eax
mov esi, 0x104
sub edx, ecx
nop
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x48c3d9
mov cl, byte [edx + eax]
test cl, cl
je 0x48c3d9
mov byte [eax], cl
inc eax
dec esi
jne 0x48c3c0
jmp 0x48c3dd
test esi, esi
jne 0x48c3de
dec eax
mov byte [eax], bl
mov ebx, 1
mov eax, dword [ebp - 0x210]
lea esi, [ebp - 0x20c]
mov edx, 0x104
sub esi, eax
jmp 0x48c400
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x48c419
mov cl, byte [esi + eax]
test cl, cl
je 0x48c419
mov byte [eax], cl
inc eax
dec edx
jne 0x48c400
jmp 0x48c41d
test edx, edx
jne 0x48c41e
dec eax
cmp dword [0x4d2afc], 0
mov byte [eax], 0
je 0x48c441
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x214]
mov dword [0x4c6444], edx
mov dword [0x4c6448], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret