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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x550]
push ebx
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x554], ebx
call fcn.004d29c0
add esp, 0xc
push 0x1f40001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp - 0x110]
push ecx
mov ecx, esi
mov dword [ebp - 0x518], eax
call fcn.0047c1e0
add esp, 4
test eax, eax
jne 0x4807a0
mov byte [ebp - 0x110], bl
lea eax, [ebp - 0x554]
lea edx, [ebp - 0x110]
push eax
mov dword [ebp - 0x554], 0x3c
mov dword [ebp - 0x550], 0xc
mov dword [ebp - 0x54c], edi
mov dword [ebp - 0x548], str.properties
mov dword [ebp - 0x544], esi
mov dword [ebp - 0x540], 0x4e27f8
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x538], 5
mov dword [ebp - 0x534], ebx
mov dword [ebp - 0x530], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edi, eax
cmp edi, ebx
jne 0x4808a2
cmp dword [0x4f8b70], 0x270f
jge 0x4808a2
push esi
push str.fileShellExecute
push str._s__s
lea ecx, [ebp - 0x510]
push 0x200
push ecx
call fcn.00402ee0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
lea edx, [ebp - 0x514]
push edx
push 0x400
mov esi, eax
push esi
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x514]
push eax
push esi
push str._d___s
lea ecx, [ebp - 0x310]
push 0x200
push ecx
call fcn.00402ee0
mov edx, dword [ebp - 0x514]
add esp, 0x14
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x510]
push eax
lea esi, [ebp - 0x310]
call fcn.0047da70
add esp, 4
mov ecx, dword [ebp - 0x518]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x481e90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4f72bc]
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 - 0x33c], esi
mov byte [ebp - 0x320], 0
call fcn.004d29c0
add esp, 0xc
mov dword [ebp - 0x330], 0x104
mov dword [ebp - 0x338], edi
cmp dword [0x505890], edi
je 0x481eef
call fcn.004c2580
mov dword [0x505890], edi
push str.fileRemoveOldRegPointers
call fcn.0047da70
add esp, 4
lea ecx, [ebp - 0x328]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x482099
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x34c]
push edx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x338]
push eax
mov eax, dword [ebp - 0x328]
push ebx
lea ecx, [ebp - 0x330]
push ecx
lea edx, [ebp - 0x320]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x32c], ebx
je 0x48201e
nop
mov eax, dword [ebp - 0x328]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x110]
push edx
push edi
push eax
mov dword [ebp - 0x334], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, ebx
inc edi
inc ebx
cmp ecx, dword [ebp - 0x32c]
ja 0x48201e
cmp eax, 0x103
je 0x48201e
test eax, eax
jne 0x481f80
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x110]
call fcn.0047cea0
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.0047af20
test eax, eax
jne 0x481f80
push str.fileRemoveOldRegPointer_File_does_NOT_Exist
lea esi, [ebp - 0x218]
call fcn.0047da70
add esp, 4
push 0
push 0
push 0x4e27f8
push 0x4e27f8
mov edx, esi
mov ecx, 0x4e27f8
call fcn.004c1eb0
add esp, 0x10
jmp 0x481f80
mov eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x505890]
mov dword [ebp - 0x324], 0
test eax, eax
jle 0x482088
mov ebx, dword [ebp - 0x324]
lea edi, [ebp - 0x110]
call fcn.004c22f0
push str.fileRemoveOldRegPointer_DeleteRegValue
mov esi, edi
call fcn.0047da70
mov eax, edi
mov edi, dword [ebp - 0x33c]
add esp, 4
mov ebx, 0x80000001
call fcn.004c00f0
mov ecx, dword [ebp - 0x324]
mov eax, dword [0x505890]
inc ecx
mov dword [ebp - 0x324], ecx
cmp ecx, eax
jl 0x48203e
test eax, eax
je 0x482099
call fcn.004c2580
mov dword [0x505890], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x482110
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4f72bc]
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 0x4ecc10
mov esi, ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
je 0x48215c
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 0x48216f
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.004cf2b6
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 0x4821e6
mov eax, 0x4ecd44
mov edi, str.SoftwareBillP_StudiosWinPatrol
mov ebx, CreateStatusWindowA
call fcn.004c00f0
mov eax, str.RegNumber
call fcn.004c00f0
mov eax, 0x4ecd44
mov ebx, 0x80000001
call fcn.004c00f0
mov eax, str.RegNumber
call fcn.004c00f0
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
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.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x483fd0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x80
push 0
push esi
mov edi, ecx
mov dword [ebp - 0x20], 0x10
call fcn.004d29c0
add esp, 0xc
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x48403b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.004cff62
add esp, 8
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x484087
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptCreateHash_failed:__d_n
call fcn.004cff62
mov eax, dword [ebp - 0x1c]
add esp, 8
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484090
mov ecx, dword [ebp - 0x18]
push 0
sub eax, edx
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4840e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptHashData_failed:__d_n
call fcn.004cff62
mov edx, dword [ebp - 0x1c]
add esp, 8
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x48413b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptGetHashParam_failed:__d_n
call fcn.004cff62
mov ecx, dword [ebp - 0x1c]
add esp, 8
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edi, dword [ebp - 0x20]
xor eax, eax
test edi, edi
je 0x484185
lea ebx, [ebx]
movzx ecx, byte [ebp + eax - 0x14]
mov edx, ecx
shr edx, 4
mov dl, byte [edx + str.0123456789abcdef]
and ecx, 0xf
mov byte [esi + eax*2], dl
mov cl, byte [ecx + str.0123456789abcdef]
mov byte [esi + eax*2 + 1], cl
inc eax
cmp eax, edi
jb 0x484160
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x486cb0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4f72bc]
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 0x486ce6
mov word [eax + edi], 0x5c
push edi
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x114]
call fcn.004010b0
mov edx, 0x104
lea eax, [ebp - 0x114]
cmp byte [eax], 0
je 0x486d12
inc eax
dec edx
jne 0x486d07
jmp 0x486d3a
test edx, edx
je 0x486d3a
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x4f8b4c
lea ecx, [ebp + ecx - 0x114]
mov edx, 0x7fffffff
call fcn.004010b0
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 0x486d6c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov esi, eax
test eax, eax
je 0x486e91
mov ebx, edi
lea eax, [ebp - 0x114]
sub ebx, eax
mov edx, 0x104
lea eax, [ebp - 0x114]
jmp 0x486d90
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x486da9
mov cl, byte [ebx + eax]
test cl, cl
je 0x486da9
mov byte [eax], cl
inc eax
dec edx
jne 0x486d90
jmp 0x486dad
test edx, edx
jne 0x486dae
dec eax
mov byte [eax], 0
mov eax, 0x104
lea ecx, [ebp - 0x114]
lea esp, [esp]
cmp byte [ecx], 0
je 0x486dcb
inc ecx
dec eax
jne 0x486dc0
jmp 0x486e11
test eax, eax
je 0x486e11
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [ebp + edx - 0x114]
je 0x486e0d
lea edi, [ebp - 0x228]
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x486e09
mov dl, byte [edi + eax]
test dl, dl
je 0x486e09
mov byte [eax], dl
inc eax
dec esi
dec ecx
jne 0x486df5
jmp 0x486e0d
test ecx, ecx
jne 0x486e0e
dec eax
mov byte [eax], 0
test byte [ebp - 0x254], 0x10
je 0x486e4a
cmp byte [ebp - 0x228], 0x2e
je 0x486e69
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x486e4a
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.00486cb0
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 0x486e89
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 0x486d80
jmp 0x486e8b
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.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x487850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push edi
mov edi, eax
push edi
push 0
push 0x400
mov dword [ebp - 4], 0
call ebx
mov esi, eax
test esi, esi
jne 0x487880
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
push 1
call ebx
mov esi, eax
test esi, esi
je 0x487901
mov ecx, dword [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ecx
push esi
call ebx
test eax, eax
jne 0x4878ba
mov edi, str.MyError:__KillTaskbyHWND_TerminateProcess
call fcn.004cad00
lea edx, [ebp - 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4878f0
mov eax, dword [ebp - 4]
push eax
push esi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x4878e0
mov edi, str.MyError:__KillTaskbyHWND_TerminateProcessbycode
call fcn.004cad00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, str.MyError:__KillTaskbyHWND_GetExitCodeProcess
call fcn.004cad00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48af90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.regsvr32__s]
mov ecx, dword [0x4eeaf4]
mov edx, dword [0x4eeaf8]
mov dword [ebp - 0x14], eax
mov al, byte [0x4eeafc]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov byte [ebp - 8], al
push ecx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x118]
call fcn.004010b0
mov edx, 0x104
lea eax, [ebp - 0x118]
lea esp, [esp]
cmp byte [eax], 0
je 0x48affb
inc eax
dec edx
jne 0x48aff0
jmp 0x48b022
test edx, edx
je 0x48b022
mov ecx, 0x104
sub ecx, edx
mov edx, dword [ebp + 8]
mov eax, 0x104
push edx
sub eax, ecx
lea ecx, [ebp + ecx - 0x118]
mov edx, 0x7fffffff
call fcn.004010b0
push 5
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x48be60
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push esi
push edi
je 0x48bea0
mov esi, dword [0x4f8b78]
mov edi, dword [0x4f8b7c]
mov dword [0x4f8b78], 0x20119
mov dword [0x4f8b7c], 0x20106
jmp 0x48beac
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.004010b0
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48bedc
inc eax
dec edx
jne 0x48bed1
jmp 0x48bf04
test edx, edx
je 0x48bf04
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push 0x4e28bc
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.004010b0
mov eax, 0xff
lea ecx, [ebp - 0x108]
nop
cmp byte [ecx], 0
je 0x48bf1b
inc ecx
dec eax
jne 0x48bf10
jmp 0x48bf42
test eax, eax
je 0x48bf42
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.004010b0
push 0x104
lea ecx, [ebp - 0x108]
push str.DLLName
push ecx
lea ecx, [ebp - 0x210]
mov edx, CreateStatusWindowA
call fcn.004bff10
add esp, 0xc
lea edx, [ebp - 0x108]
push str.OldName
push edx
lea ecx, [ebp - 0x210]
mov edx, CreateStatusWindowA
call fcn.004c0250
lea eax, [ebp - 0x108]
push str.DLLName
push eax
mov ecx, 0x4e27f8
mov edx, CreateStatusWindowA
call fcn.004c0250
add esp, 0x10
cmp dword [0x506e0c], 0
je 0x48bfb5
mov dword [0x4f8b78], esi
mov dword [0x4f8b7c], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x48bfd0
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push esi
push edi
je 0x48c010
mov esi, dword [0x4f8b78]
mov edi, dword [0x4f8b7c]
mov dword [0x4f8b78], 0x20119
mov dword [0x4f8b7c], 0x20106
jmp 0x48c01c
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.004010b0
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48c04c
inc eax
dec edx
jne 0x48c041
jmp 0x48c074
test edx, edx
je 0x48c074
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push 0x4e28bc
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.004010b0
mov eax, 0xff
lea ecx, [ebp - 0x108]
nop
cmp byte [ecx], 0
je 0x48c08b
inc ecx
dec eax
jne 0x48c080
jmp 0x48c0b2
test eax, eax
je 0x48c0b2
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.004010b0
push 0x104
lea ecx, [ebp - 0x108]
push str.OldName
push ecx
lea ecx, [ebp - 0x210]
mov edx, CreateStatusWindowA
call fcn.004bff10
add esp, 0xc
lea edx, [ebp - 0x108]
push str.DLLName
push edx
lea ecx, [ebp - 0x210]
mov edx, CreateStatusWindowA
call fcn.004c0250
lea eax, [ebp - 0x108]
push str.OldName
push eax
mov ecx, 0x4e27f8
mov edx, CreateStatusWindowA
call fcn.004c0250
add esp, 0x10
cmp dword [0x506e0c], 0
je 0x48c125
mov dword [0x4f8b78], esi
mov dword [0x4f8b7c], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x48c140
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push ebx
push esi
push edi
je 0x48c18a
mov eax, dword [0x4f8b78]
mov ecx, dword [0x4f8b7c]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], ecx
mov dword [0x4f8b78], 0x20119
mov dword [0x4f8b7c], 0x20106
push 0xff
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
lea ecx, [ebp - 0x418]
mov edx, CreateStatusWindowA
mov byte [ebp - 0x108], 0
call fcn.004bff10
add esp, 0xc
test eax, eax
je 0x48c366
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 0x48c2c3
mov al, byte [ebp + edi - 0x418]
cmp al, 0x2c
je 0x48c1f8
cmp al, 0x20
je 0x48c1f8
mov byte [ebp + esi - 0x210], al
inc esi
jmp 0x48c2ba
lea eax, [ebp - 0x318]
push eax
lea ebx, [ebp - 0x210]
mov byte [ebp + edi - 0x210], 0
call fcn.0047dcc0
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.00483650
test eax, eax
je 0x48c2ab
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48c243
inc eax
dec edx
jne 0x48c238
jmp 0x48c26d
test edx, edx
je 0x48c26d
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.004010b0
mov eax, 0xff
lea ecx, [ebp - 0x108]
cmp byte [ecx], 0
je 0x48c283
inc ecx
dec eax
jne 0x48c278
jmp 0x48c2ab
test eax, eax
je 0x48c2ab
mov ecx, 0xff
sub ecx, eax
mov eax, 0xff
sub eax, ecx
push 0x4e6e6c
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.004010b0
mov ecx, dword [ebp - 0x41c]
xor esi, esi
mov byte [ebp - 0x210], 0
inc edi
cmp edi, ecx
jl 0x48c1dc
lea ecx, [ebp - 0x318]
push ecx
lea ebx, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
call fcn.0047dcc0
mov edx, dword [ebp + 8]
add esp, 4
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00483650
test eax, eax
lea eax, [ebp - 0x108]
je 0x48c337
mov edx, 0xff
nop
cmp byte [eax], 0
je 0x48c30b
inc eax
dec edx
jne 0x48c300
jmp 0x48c349
test edx, edx
je 0x48c349
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.004010b0
jmp 0x48c349
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, CreateStatusWindowA
call fcn.004c0250
add esp, 8
cmp dword [0x506e0c], 0
je 0x48c386
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x424]
mov dword [0x4f8b78], edx
mov dword [0x4f8b7c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x48c3a0
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push ebx
push edi
je 0x48c3e0
mov edi, dword [0x4f8b78]
mov ebx, dword [0x4f8b7c]
mov dword [0x4f8b78], 0x20119
mov dword [0x4f8b7c], 0x20106
jmp 0x48c3ec
mov edi, dword [ebp - 0x314]
mov ebx, dword [ebp - 0x314]
push 0xff
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
lea ecx, [ebp - 0x208]
mov edx, CreateStatusWindowA
mov byte [ebp - 0x108], 0
call fcn.004bff10
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x108]
call fcn.004010b0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x48c483
mov edx, 0xff
lea eax, [ebp - 0x108]
lea ecx, [ecx]
cmp byte [eax], 0
je 0x48c45b
inc eax
dec edx
jne 0x48c450
jmp 0x48c483
test edx, edx
je 0x48c483
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push 0x4e6e6c
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.004010b0
push 0x104
lea edx, [ebp - 0x310]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edx, 0xff
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x48c4ac
inc eax
dec edx
jne 0x48c4a1
jmp 0x48c4d6
test edx, edx
je 0x48c4d6
lea eax, [ebp - 0x310]
push eax
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.004010b0
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
lea ecx, [ebp - 0x108]
mov edx, CreateStatusWindowA
call fcn.004c0250
add esp, 8
cmp dword [0x506e0c], 0
je 0x48c508
mov dword [0x4f8b78], edi
mov dword [0x4f8b7c], ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret