joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3af0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x74
call fcn.00593d40
mov eax, dword [0x76c12c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4c3c75
call fcn.004d1880
test eax, eax
je 0x4c3c75
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov ebx, eax
push edi
mov dword [esp + 0x48], ebx
call esi
push 0xa
push edi
mov dword [esp + 0x4c], eax
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push 0x10
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
movzx esi, word [esp + 0x60]
imul esi, dword [esp + 0x58]
imul esi, dword [esp + 0x5c]
push 0x2d5
push str..crypto_rand_rand_win.c
push esi
call fcn.004ca180
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4c3c56
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
xor ebx, ebx
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x4c3c49
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0xcc0020
push ebx
push 0
push edi
push 0x10
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push 0
call fcn.004d1630
mov ecx, dword [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push esi
push ecx
call fcn.004d1500
add esp, 0x18
mov eax, 8
call fcn.00593d40
fldz
fstp qword [esp]
lea edx, [esp + 0x70]
push 0x14
push edx
call fcn.004c35c0
add ebx, 0x10
add esp, 0x10
cmp ebx, dword [esp + 0x38]
jl 0x4c3bd1
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ca330
mov ebx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
Function at 0x4c44d0
Capabilities:
Capture screenshot

Disassembly:
call fcn.004c3c90
jmp fcn.004c3af0

Function at 0x4cf6c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x4d0220
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x4d1960
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00593d40
mov eax, dword [0x76c12c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4d19c5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4d19c5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0058e039
add eax, 0x40
push eax
call fcn.00594920
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0058cf08
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00594798
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4d1a54
call fcn.004d1880
test eax, eax
je 0x4d1a54
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0058cf08
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0058cf08
add esp, 0x108
ret

Function at 0x4de700
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x4de747
mov al, byte [edx]
test al, al
je 0x4de747
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x4de717
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x508ba0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x508c83
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x508c1e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x508c70
shl edx, 0x10
cmp edi, 2
jne 0x508c2f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x508c5d
lea edx, [edi + 0x3c]
jmp 0x508c6a
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x508bc0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x517a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x517a89
mov edi, ebx
mov ebx, eax
jmp 0x517a8b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x517aa1
push eax
push esi
call fcn.004d1e40
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x517abd
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x517aa8
cmp eax, dword [edi + 4]
jge 0x517ad2
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x517ac2
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x517af6
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x517af6
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x517ae5
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x566b18
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
push ebx
push edi
push 8
pop ecx
xor eax, eax
push eax
xor ebx, ebx
lea edi, [ebp - 0x24]
push 0x6bb060
inc ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x566b81
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 5
mov dword [ebp - 0x28], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x566b81
mov eax, dword [ebp - 0x1c]
sub eax, 0
je 0x566b7e
dec eax
je 0x566b7a
dec eax
je 0x566b76
dec eax
jmp 0x566b81
push 3
jmp 0x566b80
xor ebx, ebx
jmp 0x566b81
push 2
pop ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058cf08
leave
ret

Function at 0x566c21
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.00566b91
and dword [ebp - 0x144], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x11c], 6
jne 0x566cb7
cmp dword [ebp - 0x118], 2
jne 0x566c86
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 8
jmp 0x566d27
cmp dword [ebp - 0x118], 1
jne 0x566ca0
xor eax, eax
cmp byte [ebp - 6], 1
sete al
add eax, 6
jmp 0x566d27
cmp dword [ebp - 0x118], 0
jne 0x566d24
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 4
jmp 0x566d27
cmp dword [ebp - 0x11c], 5
jne 0x566d24
cmp dword [ebp - 0x118], 2
jne 0x566d0e
cmp byte [ebp - 6], 1
jne 0x566cd4
xor eax, eax
inc eax
jmp 0x566d27
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
je 0x566ce7
push 3
pop eax
jmp 0x566d27
cmp dword [ebp - 0x11c], 5
jne 0x566d24
cmp dword [ebp - 0x118], 2
jne 0x566d0e
push 0x59
call esi
test eax, eax
jne 0x566d05
push 2
jmp 0x566ce4
cmp dword [ebp - 0x11c], 5
jne 0x566d24
cmp dword [ebp - 0x118], 1
je 0x566ccf
cmp dword [ebp - 0x118], 0
jne 0x566d24
xor eax, eax
jmp 0x566d27
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058cf08
leave
ret
Function at 0x566ea9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19bc
call fcn.00593d40
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x19b8], esi
xor eax, eax
push esi
lea edi, [ebp - 0x19b0]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x19bc]
push eax
push esi
push esi
push 0x6bb2ac
mov dword [ebp - 0x19bc], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x19bc]
mov dword [ebp - 0x19b4], eax
mov eax, 0x1950
push eax
mov dword [ebp - 0x19b8], eax
lea eax, [ebp - 0x19a4]
push esi
push eax
call fcn.005902c0
add esp, 0xc
lea eax, [ebp - 0x19b8]
push eax
lea eax, [ebp - 0x19a4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x566f5a
cmp dword [ebp - 0x1814], esi
jle 0x566f5a
push dword [ebp - 0x1814]
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x19aa]
push eax
call fcn.005905c0
add esp, 0xc
movzx eax, byte [ebp - 0x19a5]
push eax
movzx eax, byte [ebp - 0x19a6]
push eax
movzx eax, byte [ebp - 0x19a7]
push eax
movzx eax, byte [ebp - 0x19a8]
push eax
movzx eax, byte [ebp - 0x19a9]
push eax
movzx eax, byte [ebp - 0x19aa]
push eax
movzx eax, byte [ebp - 0x19ab]
push eax
movzx eax, byte [ebp - 0x19ac]
push eax
movzx eax, word [ebp - 0x19ae]
push eax
movzx eax, word [ebp - 0x19b0]
push eax
push dword [ebp - 0x19b4]
lea eax, [ebp - 0x54]
push str._08x_04x_04x_02x_02x_02x_02x_02x_02x_02x_02x
push eax
call fcn.00566aca
add esp, 0x34
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
call fcn.00402050
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058cf08
leave
ret 4

Function at 0x56706d
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xd0], 0
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
movzx eax, ax
push 0x59
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
sub esp, 0x1c
lea eax, [ebp - 0xcc]
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.00402050
push esi
call fcn.00560f20
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0058cf08
leave
ret 4

Function at 0x569a04
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetGetConnectedState]
Function at 0x56d29c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.0056d25d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x56d397
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x56d397
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x56d397
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, edi
je 0x56d397
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x56d38b
push dword [ebp + 0xc]
push ebx
push eax
call fcn.005905c0
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push edi
push dword [esi + 8]
mov dword [ebp + 0x10], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x56d382
push edi
push dword [ebp + 0x10]
call fcn.00417ea0
pop ecx
pop ecx
mov ecx, eax
mov dword [esi + 4], eax
call fcn.00417f10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
call fcn.00417f40
mov eax, dword [esi + 4]
cmp eax, edi
je 0x56d382
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x56d372
mov al, 1
jmp 0x56d399
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x56d37f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], edi
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x56f4b3
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x56f4d1
mov ecx, dword [esi]
jmp 0x56f4d3
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x56f4dd
mov eax, dword [edi]
jmp 0x56f4df
mov eax, edi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x56f4be
pop edi
mov al, 1
pop esi
pop ebp
ret 0x10
Function at 0x575eaa
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x575f1f
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x575f18
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x575f14
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp + 8]
je 0x575f31
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x575efc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058cf08
leave
ret 8
test esi, esi
je 0x575f3d
mov eax, dword [ebp - 0x228]
mov dword [esi], eax
mov al, 1
jmp 0x575f21

Function at 0x57633c
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
and dword [ebp - 0x408], 0
push esi
mov esi, dword [ebp + 8]
push eax
call dword [edx + 0x38]
test eax, eax
je 0x576386
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x576386
lea eax, [ebp - 0x404]
push eax
jmp 0x57638b
push 0x70c3cc
mov ecx, esi
call fcn.00402050
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0058cf08
leave
ret 8

Function at 0x5783dd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xac]
mov byte [eax + esi + 0x6c], 0x80
inc dword [esi + 0xac]
cmp eax, 0x37
mov eax, dword [esi + 0xac]
jle 0x578448
jmp 0x57840f
mov byte [eax + esi + 0x6c], 0
inc dword [esi + 0xac]
mov eax, dword [esi + 0xac]
cmp eax, 0x40
jl 0x5783fe
call fcn.00578179
jmp 0x57842c
mov eax, dword [esi + 0xac]
mov byte [esi + eax + 0x6c], 0
inc dword [esi + 0xac]
cmp dword [esi + 0xac], 0x38
jl 0x57841b
jmp 0x57844d
mov byte [eax + esi + 0x6c], 0
inc dword [esi + 0xac]
mov eax, dword [esi + 0xac]
cmp eax, 0x38
jl 0x578437
mov al, byte [esi + 0x6b]
mov byte [esi + 0xa4], al
mov al, byte [esi + 0x6a]
mov byte [esi + 0xa5], al
mov al, byte [esi + 0x69]
mov byte [esi + 0xa6], al
mov al, byte [esi + 0x68]
mov byte [esi + 0xa7], al
mov al, byte [esi + 0x67]
mov byte [esi + 0xa8], al
mov al, byte [esi + 0x66]
mov byte [esi + 0xa9], al
mov al, byte [esi + 0x65]
mov byte [esi + 0xaa], al
mov al, byte [esi + 0x64]
mov byte [esi + 0xab], al
mov ecx, esi
pop esi
jmp fcn.00578179
Function at 0x5787b6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6587ac
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.00593d40
mov eax, dword [0x76c12c]
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 dword [ebp - 0x10e4], ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10e8], esi
mov dword [ebp - 0x10e0], edi
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x10d8]
mov dword [ebp - 4], ebx
call fcn.0057813b
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
jae 0x578820
lea eax, [ebp + 0xc]
push 0x6bb2c4
push eax
lea eax, [ebp - 0x10dc]
push eax
call fcn.0058eac5
add esp, 0xc
cmp eax, edi
je 0x578876
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x70d934
mov ecx, esi
mov byte [esi], 0
call fcn.00405220
lea ecx, [ebp - 0x10d8]
mov dword [ebp - 0x10e0], ebx
mov byte [ebp - 4], bl
mov dword [ebp - fcn.0057870c], vtable.SHA1.0
call fcn.0045ca60
push edi
jmp 0x578907
lea ecx, [ebp - 0x10d8]
call fcn.0057803c
mov edi, 0x1000
jmp 0x57889b
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.005784e4
push dword [ebp - 0x10dc]
lea eax, [ebp - 0x1010]
push edi
push ebx
push eax
call fcn.005905a1
add esp, 0x10
test eax, eax
jne 0x578888
push dword [ebp - 0x10dc]
call fcn.0058eb79
pop ecx
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.0057849d
mov ecx, dword [ebp - 0x10e4]
lea eax, [ebp - 0x1024]
push eax
push esi
call fcn.005786b1
lea ecx, [ebp - 0x10d8]
mov dword [ebp - 0x10e0], ebx
mov byte [ebp - 4], bl
mov dword [ebp - fcn.0057870c], vtable.SHA1.0
call fcn.0045ca60
push 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.00401da0
mov eax, esi
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.0058cf08
leave
ret 0x20

Function at 0x578b78
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x57950f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658897
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.00593d40
mov eax, dword [0x76c12c]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x107c], ebx
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
jae 0x57955b
lea eax, [ebp + 0xc]
push 0x6bb2c4
push eax
lea eax, [ebp - 0x107c]
push eax
call fcn.0058eac5
add esp, 0xc
test eax, eax
je 0x579591
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push 0x70d934
mov ecx, edi
mov byte [edi], bl
call fcn.00405220
jmp 0x579613
lea eax, [ebp - 0x1078]
push eax
call fcn.00578b78
push dword [ebp - 0x107c]
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.005905a1
add esp, 0x14
jmp 0x5795e8
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00579340
push dword [ebp - 0x107c]
lea eax, [ebp - 0x1010]
push esi
push 1
push eax
call fcn.005905a1
add esp, 0x1c
cmp eax, ebx
jne 0x5795bc
push dword [ebp - 0x107c]
call fcn.0058eb79
lea eax, [ebp - 0x1078]
push eax
call fcn.005793e2
lea eax, [ebp - 0x1078]
push eax
push edi
call fcn.00579498
add esp, 0x10
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.00401da0
mov eax, edi
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.0058cf08
leave
ret

Function at 0x57aa8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x14
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x4745425b
push eax
push 0
mov dword [ebp - 0x14], 0x44204e49
mov dword [ebp - 0x10], 0x20415441
mov dword [ebp - 0xc], 0x4d474553
mov dword [ebp - 8], 0x5d544e45
call fcn.00559140
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x14
call fcn.0058cf08
leave
ret

Function at 0x57acd6
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x57ad34
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x57ad2b
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x10], ebx
pop ebx
setne al
xor ecx, ebp
call fcn.0058cf08
leave
ret