joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440355
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0048af40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4403e1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x4e096c
call fcn.0044ae36
add esp, 0xc
jmp 0x440459
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x440414
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x44043c
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x44044b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4e096c
call fcn.0044ae36
add esp, 0xc
jmp 0x440452
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x440ec6
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
je 0x440f30
push ebx
push 0x14
push str.kxescore
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x440f2c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x440f29
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov dword [ebp - 4], 1
push ebx
call esi
push edi
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x44161a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x4df4b4
call fcn.004016a0
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.0048af40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00401ac9
push esi
call fcn.0048770e
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x441745
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0048af40
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x44179e
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x44184f
mov eax, dword [ebp - 0x94]
dec eax
je 0x44183b
dec eax
jne 0x44184f
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x4417eb
cmp dword [ebp - 0x9c], ecx
jne 0x4417d5
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x441837
cmp dword [ebp - 0x9c], edi
jne 0x441824
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x441837
cmp eax, 5
jne 0x441815
cmp dword [ebp - 0x9c], 2
jne 0x4417fc
push eax
jmp 0x44181c
cmp dword [ebp - 0x9c], 1
jne 0x441809
push 6
jmp 0x44181c
cmp dword [ebp - 0x9c], edi
jne 0x44184f
push 3
jmp 0x44181c
cmp eax, 4
ja 0x44181f
push 4
pop edi
jmp 0x44184f
cmp eax, 6
jb 0x44184f
cmp dword [ebp - 0x9c], 2
jb 0x44184f
cmp byte [ebp + 0x76], cl
jne 0x44184f
call fcn.00441679
mov edi, eax
jmp 0x44184f
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x4418ca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x441958
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x441901
cmp dword [ebp - 8], 2
jne 0x441957
push esi
mov esi, dword [ebp + 0xc]
call fcn.004015cc
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00401842
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x44193f
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x44194f
push eax
call fcn.0048b241
pop ecx
mov edx, esi
call fcn.0040160c
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x4421b7
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x4e0920], esi
mov dword [ebp - 4], esi
je 0x4421d3
xor eax, eax
inc eax
jmp 0x442293
push edi
push str.C16A0C4F_108B_4580_A7A0_8DEF25D2E9EF
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push str.GlobalE02A6D98_80B3_4a54_89E3_116EB96D0664_EXIST
push esi
push 1
push esi
mov dword [0x4e05a8], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x4e05ac], eax
call fcn.00441cf1
test eax, eax
jge 0x44220e
xor eax, eax
jmp 0x442292
cmp dword [ebp - 4], esi
je 0x442290
mov eax, dword [0x4e0918]
push ebx
mov ebx, dword [eax]
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44228c
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
call ebx
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
xor esi, esi
inc esi
pop ebx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x442b1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
call dword [section..data]
mov eax, dword [ebp + 8]
xor edi, edi
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x40c], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp + 0xc], ebx
jne 0x442b60
call fcn.00444003
mov esi, eax
jmp 0x442c3f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x442b7d
call fcn.00444003
jmp 0x442c34
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x442b73
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x442bc0
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x442bb6
lea eax, [ebp - 0x40c]
call fcn.00443a6f
mov eax, 0x8007000e
jmp 0x442c5a
push 2
push eax
call fcn.00437fe6
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x442be0
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0043518d
jmp 0x442bec
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x442bfd
mov esi, 0x8007000e
jmp 0x442c36
call dword [section..data]
push esi
push ebx
push esi
push dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, edi
je 0x442b73
mov ecx, dword [ebp - 0x40c]
push dword [ebp + 0x18]
mov word [ecx + eax*2], di
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.00442c61
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x442c58
lea eax, [ebp - 0x40c]
call fcn.00443a6f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x443a78
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x443a8b
push 0x80004005
call fcn.00401941
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x443a92
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x443fd6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x4440d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
and dword [ebp - 8], 0
test eax, eax
je 0x444189
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edi, 0x4bb53c
push edi
push eax
mov dword [ebp - 4], 0x40
call esi
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
jne 0x444186
test eax, eax
jne 0x44412d
and word [ebx + 0x3e], ax
mov dword [ebp - 8], ecx
jmp 0x444186
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.0048d02d
mov ebx, eax
test ebx, ebx
pop ecx
je 0x444186
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push edi
push dword [eax + 4]
call esi
test eax, eax
jne 0x44417f
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
push 0x1f
push ebx
shr eax, 1
and word [ebx + eax*2], 0
push 0x20
push esi
call fcn.00490937
add esp, 0x10
and word [esi + 0x3e], 0
mov dword [ebp - 8], 1
push ebx
call fcn.0048b5bf
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x444190
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.0048af40
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x4449b7
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x4449e7
push 0x98
call fcn.0046eb55
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x4449da
call fcn.00444190
mov eax, ebx
jmp 0x4449dc
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x4449e7
xor eax, eax
jmp 0x444a5d
push ebp
push 0x4c4380
push dword [esp + 0x14]
call fcn.00491da2
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x444a02
xor eax, eax
jmp 0x444a5c
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x444a16
push ebx
call fcn.00489ea1
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00492051
add esp, 0x10
cmp eax, esi
je 0x444a47
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.004441c8
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00492051
add esp, 0x10
test eax, eax
jne 0x444a29
push ebp
call fcn.004920de
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044425f
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x444a85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444b0c
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push str.ProgramPath
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444b0c
cmp dword [ebp - 8], 1
jne 0x444b0c
cmp dword [ebp - 0xc], 6
jb 0x444b0c
push esi
call fcn.0048b241
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x444b09
cmp ax, 0x2f
je 0x444b09
push 0x4bdc48
push esi
call fcn.0049215a
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x444b1a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x444e87
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
xor ebx, ebx
or edi, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x444ea0
or eax, edi
jmp 0x444f58
lea eax, [ebp - 0x54]
push esi
push eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], bx
call fcn.00444a62
test eax, eax
pop ecx
je 0x444f4a
mov edi, 0x4bb048
mov eax, edi
lea ecx, [ebp - 0x1c]
call fcn.00401000
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
lea esi, [ebp - 0x1c]
call fcn.004012ff
push edi
mov eax, esi
push eax
call fcn.0040103b
mov eax, str._aurl:
lea ecx, [ebp - 0x38]
call fcn.00401000
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
cmp dword [ebp - 0x20], 8
mov ecx, dword [ebp - 0x34]
jae 0x444f0c
lea ecx, [ebp - 0x34]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x444f18
lea eax, [ebp - 0x18]
push 1
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
push ebx
push 1
lea esi, [ebp - 0x38]
dec ecx
mov edi, ecx
call fcn.0040114b
push ebx
push 1
lea esi, [ebp - 0x1c]
call fcn.0040114b
push ebx
push 1
lea esi, [ebp - 0x54]
call fcn.0040114b
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x444f5c
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x444f72
or eax, 0xffffffff
jmp 0x444fd6
push dword [ebp + 8]
call fcn.00444e87
cmp eax, esi
pop ecx
je 0x444fd6
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.0048af40
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x444fd3
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
call fcn.00444fd9
pop ecx
jmp 0x444fd6
push 0xfffffffffffffffa
pop eax
pop esi
leave
ret
Function at 0x445485
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x445500
push ebx
push edi
push 2
push str.seclogon
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x4454f9
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x4454df
cmp dword [ebp - 0x2c], 3
je 0x4454f6
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x445a07
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00401e28
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x445ab4
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x445ab3
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00401e87
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x445ab3
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x445ab3
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x445a64
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x445a9e
xor eax, eax
jmp 0x445aa5
push eax
call fcn.0048d630
pop ecx
mov edx, esi
call fcn.00401e67
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x445ac4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x445f05
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x445f1e
mov eax, dword [ebp - 4]
jmp 0x445ff8
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x445fd3
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4be478]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4be478]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4be478]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4be478]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4be478]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4be478]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4be478]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4be478]
dec ebp
jne 0x445f3d
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x445fef
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4be478]
dec ecx
jne 0x445fdd
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x446960
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, esi
jne 0x44697d
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.00447c1b
xor al, al
jmp 0x4469f6
call fcn.004463ad
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
push ebx
call fcn.00492bab
push ebx
call fcn.00492655
push ebp
push ebp
push ebx
mov edi, eax
call fcn.00492bab
add esp, 0x1c
cmp edi, ebp
jne 0x4469b2
push ebp
push ebp
push 0xd
mov edi, esi
jmp 0x446971
lea eax, [edi + 1]
push eax
call fcn.00489ea1
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.00492051
add esp, 0x14
cmp eax, 1
je 0x4469e2
push ebp
call fcn.0048afba
pop ecx
push 0
push 0
push 2
jmp 0x4469ae
mov eax, ebp
mov ecx, esi
call fcn.004469fa
push ebp
mov bl, al
call fcn.0048afba
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret
Function at 0x448fa4
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
mov esi, str.Administrators
cmp eax, esi
je 0x449067
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x449067
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x449041
cmp dword [ebp - 4], ebx
je 0x448ffa
push dword [ebp - 4]
call fcn.0048b5bf
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x44900b
push dword [ebp - 8]
call fcn.0048b5bf
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x44904c
push dword [ebp - 0x10]
call fcn.0048d02d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0048d02d
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x448fe9
push dword [ebp - 8]
call fcn.0048b5bf
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x449069
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x449069
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x449109
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x244]
push edi
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x248], edi
call fcn.0048af40
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x14], edi
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x449153
xor eax, eax
jmp 0x449279
push esi
lea ecx, [ebp - 0x248]
push ecx
push eax
mov dword [ebp - 0x248], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x449263
push ebx
cmp dword [ebp - 8], edi
je 0x449187
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 4], edi
je 0x449194
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push str.explorer.exe
push eax
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
jne 0x449227
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
test eax, eax
je 0x449227
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x449227
push dword [ebp - 0x240]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x449227
lea eax, [ebp - 4]
push eax
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x449227
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
lea ebx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
call fcn.00448f27
test eax, eax
pop ecx
pop ecx
je 0x449227
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.00448dff
test eax, eax
pop ecx
push ebx
je 0x449240
call fcn.0048b5bf
pop ecx
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44917a
jmp 0x449258
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
call fcn.0048b5bf
pop ecx
cmp dword [ebp - 8], edi
pop ebx
je 0x449263
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x449270
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
pop esi
pop edi
leave
ret