joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484400
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x484422
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x484436
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x48444a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x4845dd
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x4845ae
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x4844ac
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x484516
mov eax, dword [esp + 0x14]
push eax
call fcn.0048b997
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0048b8ae
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x4845c3
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x4845c3
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4845e4
jmp 0x48449c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.0048cee7
add esp, 8
push 1
call fcn.0048d4ee
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x486430
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48647a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4864a9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x4864eb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x49e64d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49e685
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049c69a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049c672
jmp 0x49e691
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49fd3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49fd81
call fcn.004a5b63
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49fd81
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49fd78
xor eax, eax
jmp 0x49fd89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049fd8f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a6093
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a60c1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a60df
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a5ff9
jmp 0x4a60df
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a60df
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a5ff9
test edi, edi
mov eax, edi
jne 0x4a60c9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x428f50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 4], 0x811c9dc5
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.00429350
movzx ecx, al
test ecx, ecx
je 0x428f99
mov esi, dword [ebp - 4]
imul esi, esi, 0x1000193
push 0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp + 8]
call fcn.00429310
mov ecx, eax
call fcn.004292c0
movzx eax, word [eax]
xor esi, eax
mov dword [ebp - 4], esi
jmp 0x428f5e
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42a8b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4645c8]
jne 0x42a8bf
repz ret
jmp fcn.00434b62
Function at 0x42c5a3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x42c5e0
cmp dword [ebp + 0x14], edi
je 0x42c5e0
cmp ecx, edi
jne 0x42c5e7
call fcn.004319b2
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042a4eb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x42c5fb
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x42c61c
cmp ebx, 0xffffffff
je 0x42c60b
push ebx
push edi
push ecx
call fcn.0042a350
add esp, 0xc
cmp esi, edi
je 0x42c5c8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x42c5c8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x42c638
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x42c63f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x42c730
test word [esi + 0xc], 0x10c
je 0x42c693
mov eax, dword [esi + 4]
test eax, eax
je 0x42c693
jl 0x42c791
cmp ebx, eax
mov edi, ebx
jb 0x42c664
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x42c738
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042a5ab
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x42c728
cmp ebx, dword [ebp - 0xc]
jb 0x42c700
cmp dword [ebp - 0xc], 0
je 0x42c6bd
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x42c6b2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x42c6b9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x42c6c8
mov eax, closesocket
cmp ebx, eax
ja 0x42c6c8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x42c764
push eax
push dword [ebp - 8]
push esi
call fcn.00434dca
pop ecx
push eax
call fcn.0043938a
add esp, 0xc
test eax, eax
je 0x42c7a3
cmp eax, 0xffffffff
je 0x42c791
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x42c728
push esi
call fcn.00438ca9
cmp eax, 0xffffffff
pop ecx
je 0x42c795
cmp dword [ebp - 4], 0
je 0x42c764
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x42c647
mov eax, dword [ebp + 0x14]
jmp 0x42c5e2
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x42c74f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042a350
add esp, 0xc
call fcn.004319b2
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x42c5d8
cmp dword [ebp + 0xc], 0xffffffff
je 0x42c77a
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042a350
add esp, 0xc
call fcn.004319b2
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x42c5d8
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x42c5e2
or dword [esi + 0xc], 0x10
jmp 0x42c795
Function at 0x439487
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x464ea0]
je 0x4394a2
inc edi
cmp edi, 0x17
jb 0x439493
cmp edi, 0x17
jae 0x439622
push ebp
push 3
call fcn.00440c89
cmp eax, 1
pop ecx
je 0x4395ee
push 3
call fcn.00440c89
test eax, eax
pop ecx
jne 0x4394d6
cmp dword [0x464450], 1
je 0x4395ee
cmp ebx, 0xfc
je 0x439621
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x466808
push ebp
call fcn.0043380e
add esp, 0xc
test eax, eax
je 0x43950c
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3ef
add esp, 0x14
push 0x104
mov esi, 0x466821
push esi
push 0
mov byte [0x466925], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x439550
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043380e
add esp, 0xc
test eax, eax
je 0x439550
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042a3ef
add esp, 0x14
push esi
call fcn.0042a520
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x439595
push esi
call fcn.0042a520
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x466b1c
push 0x45866c
sub ecx, eax
push ecx
push eax
call fcn.0043c971
add esp, 0x14
test eax, eax
je 0x439595
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3ef
add esp, 0x14
jmp 0x439597
xor esi, esi
push 0x458668
push ebx
push ebp
call fcn.0043c900
add esp, 0xc
test eax, eax
je 0x4395b7
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3ef
add esp, 0x14
push dword [edi*8 + 0x464ea4]
push ebx
push ebp
call fcn.0043c900
add esp, 0xc
test eax, eax
je 0x4395d9
push esi
push esi
push esi
push esi
push esi
call fcn.0042a3ef
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00440acc
add esp, 0xc
jmp 0x439621
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x439621
cmp ebp, 0xffffffff
je 0x439621
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x464ea4]
push dword [esi]
call fcn.0042a520
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x440acc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00433a4f
xor ebx, ebx
cmp dword [0x466eac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x440ba2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x440c82
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x440c82
push eax
call fcn.004339e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x466eac], eax
call esi
push eax
call fcn.004339e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x466eb0], eax
call esi
push eax
call fcn.004339e1
mov dword [0x466eb4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00437640
test eax, eax
pop ecx
pop ecx
je 0x440b70
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a3ef
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x440ba2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004339e1
cmp eax, ebx
pop ecx
mov dword [0x466ebc], eax
je 0x440ba2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004339e1
pop ecx
mov dword [0x466eb8], eax
mov eax, dword [0x466eb8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x440c27
cmp dword [0x466ebc], ecx
je 0x440c27
push eax
call fcn.00433a58
push dword [0x466ebc]
mov esi, eax
call fcn.00433a58
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x440c27
cmp edi, ebx
je 0x440c27
call esi
cmp eax, ebx
je 0x440bf4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x440bf4
test byte [ebp - 0x18], 1
jne 0x440c27
lea eax, [ebp - 0x10]
push eax
call fcn.00437677
test eax, eax
pop ecx
je 0x440c0f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a3ef
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x440c1e
or dword [ebp + 0x10], 0x200000
jmp 0x440c62
or dword [ebp + 0x10], 0x40000
jmp 0x440c62
mov eax, dword [0x466eb0]
cmp eax, dword [ebp - 8]
je 0x440c62
push eax
call fcn.00433a58
cmp eax, ebx
pop ecx
je 0x440c62
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x440c62
mov eax, dword [0x466eb4]
cmp eax, dword [ebp - 8]
je 0x440c62
push eax
call fcn.00433a58
cmp eax, ebx
pop ecx
je 0x440c62
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x466eac]
call fcn.00433a58
cmp eax, ebx
pop ecx
je 0x440c82
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x440c84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x444880
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0042a350
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x4448d4
xor eax, eax
jmp 0x444975
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x4448f3
xor eax, eax
jmp 0x444975
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x444959
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.0042b8f5
add esp, 8
test eax, eax
jne 0x444942
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x230]
mov dword [edx], eax
mov dword [ebp - 0x23c], 1
jmp 0x444959
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x444914
cmp dword [ebp - 0x240], 0xffffffff
je 0x44496f
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x4449b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0042a350
add esp, 0xc
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
jne 0x444a48
xor eax, eax
jmp 0x444c49
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x444bed
cmp dword [ebp - 0x23c], 0
je 0x444a8d
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x240], 0
je 0x444aad
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x240], 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.0042b8f5
add esp, 8
test eax, eax
je 0x444ac9
jmp 0x444bd2
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x444aec
mov eax, dword [ebp - 0x248]
cmp eax, dword [ebp + 0xc]
je 0x444af1
jmp 0x444bd2
mov ecx, dword [ebp - 0x230]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x444b19
jmp 0x444bd2
lea edx, [ebp - 0x240]
push edx
push 0xf01ff
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x444b3b
jmp 0x444bd2
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x254]
push edx
push 1
mov eax, dword [ebp - 0x240]
push eax
call fcn.00444fd0
add esp, 0x10
test eax, eax
jne 0x444b74
jmp 0x444bd2
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx]
push edx
call fcn.00445200
add esp, 4
test eax, eax
jne 0x444bb9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x230]
mov dword [eax], ecx
mov dword [ebp - 0x244], 1
mov edx, dword [ebp - 0x254]
push edx
call fcn.00444fb0
add esp, 4
mov dword [ebp - 0x254], 0
jmp 0x444bed
mov eax, dword [ebp - 0x254]
push eax
call fcn.00444fb0
add esp, 4
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x444a6d
cmp dword [ebp - 0x23c], 0
je 0x444c0d
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x240], 0
je 0x444c2d
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x240], 0
cmp dword [ebp - 0x250], 0xffffffff
je 0x444c43
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret
Function at 0x444eb0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x444ec2
cmp dword [ebp + 0xc], 0
jne 0x444ec9
xor eax, eax
jmp 0x444fa4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x444f79
cmp dword [ebp - 4], 0
je 0x444f2e
mov eax, dword [ebp - 4]
push eax
call fcn.0042acb1
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x444f47
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042acb1
add esp, 4
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x444f54
jmp 0x444f79
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042df29
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shl eax, 1
push eax
call fcn.0042df29
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x444eec
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042acb1
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x444f93
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
je 0x444fa1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x445da0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4645c8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.0042a350
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x244], eax
jmp 0x445e25
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x445e62
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0042b8f5
add esp, 8
test eax, eax
jne 0x445e60
mov ecx, dword [ebp - 0x238]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
jmp 0x445e62
jmp 0x445e0f
cmp dword [ebp - 4], 0xffffffff
je 0x445e79
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042a8b5
mov esp, ebp
pop ebp
ret