joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4255a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x398
mov eax, 0x59ad2b
call fcn.00493819
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x398], esi
mov dword [ebp - 0x3a4], eax
call fcn.004257fb
push 0x629448
lea eax, [ebp - 0x164]
call fcn.00415e88
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [0x629598]
cmp word [ebx], di
jne 0x4256ef
mov ebx, dword [ebp - 0x3a4]
cmp ebx, edi
je 0x4255fe
lea esi, [ebp - 0x164]
call fcn.00415ebd
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x39c], eax
push edi
cmp eax, 0xffffffff
jne 0x42564d
push 0x602f38
mov eax, dword [ebp - 0x398]
call fcn.0042603a
mov bl, al
lea ecx, [ebp - 0x164]
call fcn.00415eac
mov al, bl
call fcn.00493863
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jne 0x425662
push edi
push str.File_is_empty
jmp 0x42562b
cmp esi, 0x400000
jbe 0x425672
push edi
push str.File_too_large
jmp 0x42562b
push esi
mov dword [ebp - 0x3a4], edi
call fcn.00489adb
pop ecx
push edi
mov ebx, eax
lea eax, [ebp - 0x3a4]
push eax
push esi
push ebx
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3a4], esi
je 0x4256ca
push ebx
call fcn.0048b5cf
mov esi, dword [ebp - 0x398]
pop ecx
call fcn.004257fb
push edi
push str.Could_not_read_file
mov eax, esi
jmp 0x425631
push esi
push ebx
push dword [ebp - 0x398]
call fcn.00425515
push ebx
mov byte [ebp - 0x39d], al
call fcn.0048b5cf
mov bl, byte [ebp - 0x39d]
pop ecx
jmp 0x425638
lea esi, [ebp - 0x164]
call fcn.00415ebd
xor ebx, ebx
cmp byte [0x6324d8], bl
je 0x42570b
mov eax, dword [0x6324dc]
jmp 0x42571c
push 2
push ebx
push dword [ebp - 0x164]
call fcn.00429b83
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x39c], eax
cmp ecx, ebx
jne 0x425733
push ebx
push str.Error_opening_zip_file
jmp 0x42562b
mov edx, dword [ebp - 0x3a4]
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.00429bdf
pop ecx
pop ecx
test eax, eax
je 0x42575d
push ebx
push str.Could_not_find_ziped_file
jmp 0x42562b
mov eax, dword [ebp - 0x168]
mov edi, eax
cmp eax, ebx
jne 0x42576f
push ebx
jmp 0x42565b
cmp eax, 0x400000
jbe 0x42577c
push ebx
jmp 0x42566b
push eax
call fcn.00489adb
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x39c]
push edi
push esi
push dword [ebp - 0x3a4]
call fcn.00429cb0
add esp, 0xc
cmp eax, ebx
je 0x4257cc
cmp eax, 0x600
je 0x4257cc
push esi
call fcn.0048b5cf
pop ecx
cmp byte [0x6324d8], bl
jne 0x4257c1
push dword [ebp - 0x39c]
call fcn.00429ce4
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x42562b
cmp byte [0x6324d8], bl
jne 0x4257e0
push dword [ebp - 0x39c]
call fcn.00429ce4
pop ecx
push edi
push esi
push dword [ebp - 0x398]
call fcn.00425515
push esi
mov bl, al
call fcn.0048b5cf
pop ecx
jmp 0x425638
Function at 0x428099
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x4280a4
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x428158
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x600de0]
add ecx, 8
sub edi, 8
dec esi
jne 0x4280bb
pop ebx
test edi, edi
je 0x428171
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x600de0]
inc ecx
dec edi
jne 0x42815c
pop esi
not eax
pop edi
ret

Function at 0x4288f7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x428927
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x428922
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x42894f
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x428938
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00489dd0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x4295d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x429648
cmp dword [esi + 4], 0xffffffff
jne 0x429648
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5fd8e0
push edi
call fcn.0048ef97
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
jne 0x42961a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x42961a
mov eax, 0x2000000
jmp 0x42964d
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00428770
add esp, 0xc
test eax, eax
jne 0x429638
mov eax, dword [ebp + 8]
jmp 0x42964d
push eax
call fcn.00428b67
mov dword [esi], eax
mov eax, dword [0x632510]
pop ecx
jmp 0x42964d
mov eax, 0x1000000
pop edi
pop ebp
ret 0xc
Function at 0x42a511
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xa5c], ebx
je 0x42a578
cmp dword [ebp + 8], 0x100
jne 0x42a567
cmp word [ebp + 0xc], 0xd
jne 0x42a567
cmp byte [esi + 0xa62], bl
je 0x42a54f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42a567
cmp byte [esi + 0xa63], bl
jne 0x42a567
mov edx, dword [esi + 0x40]
cmp edx, ebx
je 0x42a563
push ebx
push ebx
push esi
mov ecx, str.return
call fcn.004151df
xor eax, eax
jmp 0x42a57b
mov eax, dword [esi + 0xa5c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x42f221
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x42f246
cmp eax, edi
jge 0x42f23e
mov eax, esi
call fcn.0042ebd7
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x42f273
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x42f253
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x42f292
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x42f280
xor eax, eax
jmp 0x42f288
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x42f276
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x42f2c6
mov dword [0x632328], str.zlib_corrupt
xor eax, eax
jmp 0x42f306
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42f2db
mov dword [0x632328], str.read_past_buffer
jmp 0x42f2c2
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42f2f0
mov ecx, edi
call fcn.0042ec0d
test eax, eax
je 0x42f2c2
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00489dd0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x436ba3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], 0
push ebx
push edi
je 0x436c05
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00495140
mov ebx, esp
test ebx, ebx
je 0x436c05
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x10]
push ebx
add eax, 0x348
call fcn.00415fd0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0
push 0
push ecx
call dword [eax + 0x1c]
mov ecx, str.textchanged
mov edx, eax
call fcn.004151df
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
leave
ret
Function at 0x44076c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
and dword [eax + 0xbfc], 0
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x44080c
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x164], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x160], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x164]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
push 0x40000000
push dword [eax]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00412373
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov edi, dword [ecx + 0xa24]
call dword [eax + 0x1c]
mov esi, eax
mov eax, edi
call fcn.00415733
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x150]
push edx
call dword [eax + 0x28]
mov eax, dword [eax]
cmp word [eax], 0
lea ecx, [ebp - 0x150]
sete byte [ebp - 0x151]
call fcn.00415eac
cmp byte [ebp - 0x151], 0
mov esi, 0xbec
je 0x44084d
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [ebx + 0x18], 1
pop esi
call fcn.00489dc1
leave
ret 4
Function at 0x448d00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b642
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x220], edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov dword [ebp - 0x224], esi
mov word [esi], ax
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x220], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
push ecx
push edx
push edi
mov dword [ebp - 0x21c], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, edi
jne 0x448dae
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x448dae
lea edx, [ebp - 0x218]
push edx
call fcn.0048aa3a
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.00401741
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x448dbf
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret

Function at 0x448df0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448e5b
mov ecx, dword [esi + 0x10]
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x448e2c
mov esi, dword [esi]
cmp dword [edi + 0x14], eax
jb 0x448e35
mov eax, dword [edi]
jmp 0x448e37
mov eax, edi
mov edx, dword [ebp - 4]
add ecx, ecx
push ecx
push esi
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448fb0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dd68
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x20f]
mov dword [ebp - 0x254], ebx
push ebx
push eax
mov dword [ebp - 0x25c], edi
mov esi, ecx
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x210], bl
call fcn.0048b3f0
xor ecx, ecx
mov dword [ebp - 0x258], 0x200
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
add esp, 0xc
mov word [edi], cx
lea edx, [ebp - 0x24c]
push edx
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 4], ebx
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x254], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44918c
cmp dword [esi + 0x14], 8
jb 0x449061
mov esi, dword [esi]
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x250]
push edx
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44918c
cmp dword [ebp - 0x250], 1
jne 0x44918c
lea edx, [ebp - 0x210]
xor ecx, ecx
push edx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], cx
call fcn.0048aa3a
add esp, 4
lea ecx, [ebp - 0x210]
lea esi, [ebp - 0x22c]
call fcn.00401741
mov eax, esi
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.00448e70
add esp, 4
mov esi, eax
cmp edi, esi
je 0x449143
cmp dword [edi + 0x14], 8
jb 0x449102
mov eax, dword [edi]
push eax
call fcn.0048a131
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
cmp dword [esi + 0x14], 8
jae 0x44912b
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
push esi
push edi
call fcn.0048a400
add esp, 0xc
jmp 0x449131
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0x234], 8
jb 0x44915b
mov eax, dword [ebp - 0x248]
push eax
call fcn.0048a131
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], cx
jb 0x44918c
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0048a131
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x449320
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x44934c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449372
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [ebp - 0x230]
push ecx
mov edi, 0x22c
push esi
mov dword [ebp - 0x230], edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4493a1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x230]
push edx
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push esi
call edi
test eax, eax
je 0x449418
jmp 0x4493c0
mov eax, dword [ebp + 8]
call fcn.004016fc
lea ecx, [ebp - 0x20c]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4493f6
test dx, dx
je 0x4493f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4493f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4493d0
xor eax, eax
jmp 0x4493fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x449400
inc ebx
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
jne 0x4493c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00489dc1
mov esp, ebp
pop ebp
ret

Function at 0x449440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
mov esi, eax
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0048b3f0
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x58]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x449492
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x4494ad
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], edx
mov edx, dword [ebp - 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov eax, dword [ebp - 0xc]
push eax
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4494d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c686
mov eax, dword fs:[0]
push eax
sub esp, 0xa70
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xa7c], eax
xor ebx, ebx
xor eax, eax
mov edi, 7
push esi
mov dword [ebp - 0xa78], ebx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
call fcn.0048aa3a
mov ecx, esi
add esp, 4
lea esi, [ebp - 0x82c]
call fcn.00401741
mov ecx, esi
push ecx
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], ebx
call fcn.0044c190
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x818], 8
jb 0x449574
mov edx, dword [ebp - 0x82c]
push edx
call fcn.0048a131
add esp, 4
xor eax, eax
push 0x5fd8e0
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
call fcn.0048aa3a
add esp, 4
mov edi, eax
push 0x5fd8e0
lea eax, [ebp - 0x848]
call fcn.00401664
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4495c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4496a7
push 0x22c
lea ecx, [ebp - 0xa74]
push ebx
push ecx
call fcn.0048b3f0
add esp, 0xc
lea edx, [ebp - 0xa74]
push edx
push edi
mov dword [ebp - 0xa74], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x449692
mov eax, dword [ebp - 0xa6c]
cmp eax, dword [ebp - 0xa7c]
je 0x449684
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x44967c
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x449675
cmp dword [ebp - 0x834], 8
mov eax, dword [ebp - 0x848]
jae 0x44964e
lea eax, [ebp - 0x848]
mov ecx, dword [ebp - 0x838]
push ecx
push eax
lea edx, [ebp - 0x810]
push edx
call fcn.00491fb4
add esp, 0xc
test eax, eax
jne 0x449675
mov eax, dword [ebp - 0xa6c]
mov dword [ebp - 0xa78], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xa78], ebx
jne 0x4496a0
lea ecx, [ebp - 0xa74]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x449600
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x834], 8
jb 0x4496bf
mov edx, dword [ebp - 0x848]
push edx
call fcn.0048a131
add esp, 4
mov eax, dword [ebp - 0xa78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x4496f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x28
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x449738
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x449767
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0x10
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4497c7
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00489dc1
mov esp, ebp
pop ebp
ret