joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b10b
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x514a98], esi
mov dword [ebp - 4], esi
je 0x43b127
xor eax, eax
inc eax
jmp 0x43b1e7
push edi
push str.F1FDC119_1B9A_4f7d_AACD_566A48BCE196
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push str.GlobalF46865EC_12FC_4828_8D94_538AE3B7EDF1_EXIST
push esi
push 1
push esi
mov dword [0x513f38], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x513f3c], eax
call fcn.0043b07a
test eax, eax
jge 0x43b162
xor eax, eax
jmp 0x43b1e6
cmp dword [ebp - 4], esi
je 0x43b1e4
mov eax, dword [0x514a90]
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 0x43b1e0
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 0x43b2fa
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
push edi
push 0x103
lea eax, [ebp - 0x133]
push 0
push eax
mov byte [ebp - 0x134], 0
call fcn.00489500
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x28], 0
pop ecx
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push eax
call fcn.00489bc0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00435d49
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, 0x512bd4
call fcn.0040de3b
xor esi, esi
movzx eax, byte [ebp + esi - 0x28]
mov ecx, dword [ebp + 8]
push eax
push 0x4f50f4
call fcn.004099f7
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x43b37b
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x43b39d
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.00489500
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov esi, dword [ebp + 8]
mov ecx, 0x512bd4
call fcn.0040de3b
push dword [ebp - 8]
mov eax, esi
push str._010lu
call fcn.00421c33
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43bf1e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
push 2
call fcn.0043ad0d
pop ecx
call fcn.00404dbb
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
call edi
mov dword [esi], eax
lea eax, [esp + 0x10]
call fcn.00429394
push dword [eax]
call fcn.004439e8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401023
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00406155
call fcn.0043bcea
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
call fcn.004386e3
test eax, eax
jne 0x43bfed
push 0xc
call fcn.0045eb75
cmp eax, ebx
pop ecx
jne 0x43bfb5
xor esi, esi
jmp 0x43bfd9
push ebx
push ebx
push eax
push 0x43873d
lea ecx, [esp + 0x1c]
push ebx
push ebx
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43870a
call fcn.0048e9c5
add esp, 0x18
mov esi, eax
cmp dword [esp + 0xc], ebx
je 0x43bfe9
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], esi
cmp dword [esp + 0x10], ebx
je 0x43bff8
call fcn.004062cd
call fcn.00404dbb
mov esi, eax
call edi
mov dword [esi + 0x14], eax
cmp dword [0x514854], ebx
je 0x43c025
cmp dword [0x5148a0], ebx
jne 0x43c025
cmp dword [0x513f18], 0xe0000038
je 0x43c025
call fcn.0043ad97
lea edi, [esp + 0x18]
call fcn.004702c0
mov esi, eax
call fcn.0047036f
push 2
mov ecx, esi
call fcn.00470658
mov ecx, esi
call fcn.0047079c
mov ecx, esi
call fcn.0047083c
mov esi, edi
call fcn.0047031b
call fcn.0047ae7f
push eax
call fcn.0047aeb4
cmp dword [0x5148a0], ebx
je 0x43c06b
call fcn.0043be2b
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x514890], ebx
je 0x43c07e
call fcn.004295e4
mov eax, dword [0x514828]
cmp eax, ebx
je 0x43c08d
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x5148ac]
cmp dword [eax - 0xc], ebx
je 0x43c0a5
push ebx
push ebx
push 1
push ebx
push eax
call fcn.004290dd
add esp, 0x14
call fcn.0047abb6
mov esi, eax
call fcn.0047ac6c
mov esi, 0x514954
call fcn.00424341
mov esi, 0x5148ec
call fcn.00438767
cmp dword [esp + 0xc], ebx
je 0x43c0eb
push 0xffffffffffffffff
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [esp + 0xc], ebx
je 0x43c0eb
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], ebx
push 1
call fcn.0043ad0d
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43c5f4
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 0x43c638
call fcn.0043d844
mov esi, eax
jmp 0x43c717
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x43c655
call fcn.0043d844
jmp 0x43c70c
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x43c64b
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x43c698
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43c68e
lea eax, [ebp - 0x40c]
call fcn.0043d470
mov eax, 0x8007000e
jmp 0x43c732
push 2
push eax
call fcn.00433920
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43c6b8
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00432224
jmp 0x43c6c4
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x43c6d5
mov esi, 0x8007000e
jmp 0x43c70e
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 0x43c64b
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.0043c739
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43c730
lea eax, [ebp - 0x40c]
call fcn.0043d470
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x43d479
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43d48c
push 0x80004005
call fcn.004011d7
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 0x43d493
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 0x43de4b
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.00489500
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x43e60c
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x43e63c
push 0x98
call fcn.0045eb75
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x43e62f
call fcn.0043de4b
mov eax, ebx
jmp 0x43e631
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x43e63c
xor eax, eax
jmp 0x43e6b2
push ebp
push 0x4f6e00
push dword [esp + 0x14]
call fcn.0048ee3d
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x43e657
xor eax, eax
jmp 0x43e6b1
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x43e66b
push ebx
call fcn.00487ce0
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048f0ec
add esp, 0x10
cmp eax, esi
je 0x43e69c
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00435c3a
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048f0ec
add esp, 0x10
test eax, eax
jne 0x43e67e
push ebp
call fcn.0048f179
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0043de83
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4
Function at 0x43eb11
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 0x43eb8c
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 0x43eb85
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 0x43eb6b
cmp dword [ebp - 0x2c], 3
je 0x43eb82
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 0x43eba6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43ec2f
push ebx
call fcn.00487ce0
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43ec20
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e96bc
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ec20
cmp dword [ebp - 0xc], ebx
je 0x43ec20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x43ec2f
push dword [ebp - 4]
call fcn.0048ab32
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x43ec6b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x512bd4
call fcn.0040de3b
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.00489500
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.00413ba8
push esi
call fcn.00475cfc
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x43ed79
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.00489500
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 0x43edd2
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x43ee88
mov eax, dword [ebp - 0x94]
dec eax
je 0x43ee74
dec eax
jne 0x43ee88
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x43ee21
cmp dword [ebp - 0x9c], edx
jne 0x43ee0b
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x43ee70
cmp dword [ebp - 0x9c], edi
jne 0x43ee59
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x43ee70
cmp eax, 5
jne 0x43ee4b
cmp dword [ebp - 0x9c], 2
jne 0x43ee32
push eax
jmp 0x43ee52
cmp dword [ebp - 0x9c], 1
jne 0x43ee3f
mov edi, ecx
jmp 0x43ee88
cmp dword [ebp - 0x9c], edi
jne 0x43ee88
push 3
jmp 0x43ee52
cmp eax, 4
ja 0x43ee55
push 4
pop edi
jmp 0x43ee88
cmp eax, ecx
jb 0x43ee88
cmp dword [ebp - 0x9c], 2
jae 0x43ee66
cmp eax, ecx
jbe 0x43ee88
cmp byte [ebp + 0x76], dl
jne 0x43ee88
call fcn.0043ecca
mov edi, eax
jmp 0x43ee88
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 0x43ef56
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 0x43efe4
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 0x43ef8d
cmp dword [ebp - 8], 2
jne 0x43efe3
push esi
mov esi, dword [ebp + 0xc]
call fcn.00413449
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004010cd
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 0x43efcb
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 0x43efdb
push eax
call fcn.00488c9a
pop ecx
mov edx, esi
call fcn.004010ac
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x43fbb6
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.0040d43b
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 0x43fc63
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x43fc62
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.0040d47a
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 0x43fc62
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x43fc62
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x43fc13
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x43fc4d
xor eax, eax
jmp 0x43fc54
push eax
call fcn.00489bc0
pop ecx
mov edx, esi
call fcn.0040c74b
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x43fc73
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x4402b7
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 0x4402d0
mov eax, dword [ebp - 4]
jmp 0x4403aa
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 0x440385
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 + 0x4f0020]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f0020]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f0020]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f0020]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f0020]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f0020]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f0020]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4f0020]
dec ebp
jne 0x4402ef
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4403a1
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4f0020]
dec ecx
jne 0x44038f
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443195
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 0x443258
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x443258
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 0x443232
cmp dword [ebp - 4], ebx
je 0x4431eb
push dword [ebp - 4]
call fcn.004896b0
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x4431fc
push dword [ebp - 8]
call fcn.004896b0
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x44323d
push dword [ebp - 0x10]
call fcn.0048978d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0048978d
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 0x4431da
push dword [ebp - 8]
call fcn.004896b0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x44325a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x44325a
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4432fa
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.00489500
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 0x443344
xor eax, eax
jmp 0x44346a
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 0x443454
push ebx
cmp dword [ebp - 8], edi
je 0x443378
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 4], edi
je 0x443385
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push str.explorer.exe
push eax
call fcn.0048a14c
test eax, eax
pop ecx
pop ecx
jne 0x443418
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
test eax, eax
je 0x443418
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x443418
push dword [ebp - 0x240]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x443418
lea eax, [ebp - 4]
push eax
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x443418
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.00443118
test eax, eax
pop ecx
pop ecx
je 0x443418
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.00442ff0
test eax, eax
pop ecx
push ebx
je 0x443431
call fcn.004896b0
pop ecx
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44336b
jmp 0x443449
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
call fcn.004896b0
pop ecx
cmp dword [ebp - 8], edi
pop ebx
je 0x443454
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x443461
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