joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b56
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4720c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x442400
call fcn.004405c0
mov edi, eax
jmp 0x442519
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x44241f
call fcn.004405c0
jmp 0x442510
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x44243b
call fcn.004405c0
jmp 0x442510
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x44245c
mov edi, 0x8007000e
jmp 0x442512
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x442471
cmp eax, 0xffffffff
jbe 0x44247b
push 0x80070216
call fcn.00404430
cmp eax, 0x400
jbe 0x4424ad
lea ecx, [ebp - 0x418]
push ecx
call fcn.00440df0
jmp 0x4424b9
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x4424d1
mov edi, 0x8007000e
jmp 0x442512
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x4424ef
call fcn.004405c0
jmp 0x442510
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004421e0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x442532
lea eax, [ebp - 0x418]
call fcn.00440d80
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 - 0x14]
xor ecx, ebp
call fcn.004453ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443570
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d626
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4720c0]
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
push 0
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4435e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ebx, [ebp - 0x21c]
call fcn.0043c3e0
push 0xc
push 0x466884
call fcn.0043c3e0
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44365f
push ecx
mov edx, esp
mov dword [ebp - 0x220], esp
push edx
mov ecx, 0x4668a0
call fcn.00407e10
push 0x81
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x224], esp
mov edi, esp
call fcn.00402780
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.00443390
add esp, 0xc
call fcn.004436d0
test al, al
jne 0x44368f
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, 0x20
je 0x44368f
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44368f
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4436b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004453ac
mov esp, ebp
pop ebp
ret
Function at 0x443740
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4720c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x430]
push eax
push edi
mov dword [ebp - 0x430], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
mov ecx, str.gregn50.dll
lea eax, [ebp - 0x410]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4437b6
test dx, dx
je 0x4437b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4437b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x443790
xor eax, eax
jmp 0x4437bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44380f
mov esi, dword [sym.imp.KERNEL32.dll_Module32NextW]
lea ecx, [ebp - 0x430]
push ecx
push edi
call esi
mov ecx, str.gregn50.dll
lea eax, [ebp - 0x410]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443806
test dx, dx
je 0x443802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443806
add eax, 4
add ecx, 4
test dx, dx
jne 0x4437e0
xor eax, eax
jmp 0x44380b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4437c5
mov eax, dword [ebp - 0x41c]
lea edx, [eax + 0xb4ef6]
lea ecx, [eax + 0xb4e49]
add eax, 0xef883
push edi
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x90
mov edi, dword [ebp - 0x43c]
mov ecx, 0x1b
rep stosb byte es:[edi], al
mov al, 0x90
mov edi, dword [ebp - 0x434]
mov ecx, 5
rep stosb byte es:[edi], al
mov al, 0x90
mov edi, dword [ebp - 0x438]
mov ecx, 0x48
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004453ac
mov esp, ebp
pop ebp
ret

Function at 0x444c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4751c0], 0
push esi
push edi
jne 0x444bb6
call fcn.00444b22
test eax, eax
je 0x444bfb
mov eax, dword [0x4751c0]
cmp eax, 1
jne 0x444bd7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x444bfb
jmp 0x444c3d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x444c3d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x444bff
xor eax, eax
jmp 0x444c3d
mov eax, dword [esi]
push dword [0x4751c0]
call edi
mov edi, eax
test edi, edi
je 0x444c21
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x444c3d
lea edi, [esi + 0xff0]
push esi
push dword [0x4751c0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x444c27
mov eax, esi
pop edi
pop esi
ret
jmp 0x444ba2

Function at 0x4453ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4720c0]
jne 0x4453b6
repz ret
jmp fcn.004478c5
Function at 0x450f4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4720c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044bc9b
and dword [ebp - 0x14], 0
cmp dword [0x4760a4], 0
mov dword [ebp - 0x18], eax
jne 0x450fff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4510a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x460e64
push ebx
call edi
test eax, eax
je 0x4510a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4760a4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4760a8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4760ac], eax
call edi
push eax
call esi
mov dword [0x4760b4], eax
test eax, eax
je 0x450fff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4760b0], eax
mov eax, dword [0x4760b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x451058
cmp dword [0x4760b4], ecx
je 0x451058
push eax
call esi
push dword [0x4760b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x451058
test ebx, ebx
je 0x451058
call edi
test eax, eax
je 0x45104f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45104f
test byte [ebp - 8], 1
jne 0x451058
or dword [ebp + 0x10], 0x200000
jmp 0x45108b
mov eax, dword [0x4760a8]
cmp eax, dword [ebp - 0x18]
je 0x45108b
push eax
call esi
test eax, eax
je 0x45108b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45108b
mov eax, dword [0x4760ac]
cmp eax, dword [ebp - 0x18]
je 0x45108b
push eax
call esi
test eax, eax
je 0x45108b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4760a4]
call esi
test eax, eax
je 0x4510a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4510a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453ac
leave
ret
Function at 0x401951
Capabilities:
Connect socket

Disassembly:
push 0x10
push 0x4dd7d8
call fcn.004956c0
mov esi, ecx
mov dword [ebp - 0x20], esi
push dword [ebp + 8]
call fcn.00401a63
test eax, eax
je 0x401a11
xor edi, edi
push edi
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
je 0x4019b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x10
lea eax, [esi + 0x30]
push eax
call fcn.00490fd4
push eax
call fcn.004176f5
add esp, 0x14
push esi
mov ecx, dword [ebp + 8]
call fcn.004332df
xor eax, eax
inc eax
jmp 0x401a13
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x401a0a
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
push eax
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x4019fe
push edi
push dword [ebp + 0x14]
push edi
lea eax, [ebp - 0x1c]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
je 0x401a1b
push 0x274d
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [ebp - 4], 0xfffffffe
call fcn.00401a59
mov ecx, esi
call fcn.00419994
xor eax, eax
call fcn.00495705
ret 0x10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x10
lea eax, [esi + 0x30]
push eax
call fcn.00490fd4
push eax
call fcn.004176f5
add esp, 0x14
push esi
mov ecx, dword [ebp + 8]
call fcn.004332df
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x4e6e00
call fcn.00495ef0
add esp, 0xc
jmp 0x4019af

Function at 0x401a63
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
inc ebx
mov edi, ecx
push ebx
push eax
push eax
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401aab
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x401aa4
mov dword [edi + 0x28], esi
mov eax, ebx
jmp 0x401aad
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403943
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, dword [ebx + 0x1c]
lea ecx, [ebx + 0x14]
cmp eax, esi
lea edi, [ebx + 0x28]
push esi
sbb eax, eax
add eax, 2
mov dword [ebx + 0x20], eax
call fcn.004419ef
add eax, dword [ebx + 0x18]
xor ecx, ecx
push ecx
mov dword [edi + 4], eax
lea eax, [ebp + 0xc]
sub esi, dword [ebx + 0x18]
push ebx
push eax
mov eax, dword [ebp - 4]
push ecx
push 1
push edi
mov dword [edi], esi
push dword [eax + 0x28]
mov dword [ebp + 0xc], ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, 0x3e5
cmp eax, 0xffffffff
jne 0x4039ae
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, edi
je 0x4039ae
call esi
push 0x1e
pop eax
jmp 0x4039b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4039b9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
mov esi, dword [edi + 0x18]
cmp eax, ebx
push ebx
sbb eax, eax
add eax, 2
mov dword [edi + 0x20], eax
call fcn.004419ef
push edi
push 0
add eax, esi
sub ebx, esi
push ebx
mov dword [edi + 0x2c], eax
push eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x28], ebx
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, 0x3e5
test eax, eax
jne 0x403a18
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, edi
je 0x403a18
call esi
push 0x1e
pop eax
jmp 0x403a1a
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x404392
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
and dword [esi + 0x20], 0
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
lea edi, [esi + 0x28]
push dword [eax - 4]
call fcn.004419ef
mov ecx, dword [esi + 0x18]
add ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
mov dword [edi], eax
xor eax, eax
push eax
push esi
push eax
push eax
push 1
push edi
push dword [ebx + 0x28]
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, 0x3e5
cmp eax, 0xffffffff
jne 0x4043f0
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, edi
je 0x4043f0
call esi
push 0x1d
pop eax
jmp 0x4043f2
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40cc60
Capabilities:
Get graphical window text

Disassembly:
push 0x40c
mov eax, 0x4afa9b
call fcn.0049560c
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x418], edi
mov dword [edi + 4], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
push esi
push esi
lea ecx, [edi + 0x2c]
mov dword [ebp - 4], esi
call fcn.0041046c
mov dword [edi], vtable.WTL::CProgressDialogImpl_class_WTL::CProgressDialog_.0
mov dword [edi + 0x2c], vtable.WTL::CProgressDialogImpl_class_WTL::CProgressDialog_.1.0
mov dword [edi + 0x16c], esi
mov dword [edi + 0x170], esi
lea esi, [edi + 0x174]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040d32b
mov dword [esi], vtable.WTL::CStaticEx.0
lea esi, [edi + 0x1b0]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0040c0e3
mov dword [esi], vtable.WTL::CButtonEx.0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
test eax, eax
jne 0x40ccf3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [edi + 0x16c], eax
push eax
jmp 0x40cd2a
push 0xfffffffffffffff0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x40cd30
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [edi + 0x16c], eax
push eax
call ebx
test eax, eax
jne 0x40cd02
push dword [edi + 0x16c]
call ebx
test eax, eax
je 0x40cd74
mov esi, dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x40cd74
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40cd74
push 0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [edi + 0x170], 1
mov esi, dword [edi + 0x16c]
push esi
call ebx
test eax, eax
jne 0x40cd89
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
push 0
push esi
mov ecx, edi
call fcn.0041a5cc
test eax, eax
je 0x40ce1d
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push dword [edi + 0x178]
lea ecx, [edi + 0x2c]
call fcn.0041820a
push dword [ebp + 8]
lea ecx, [edi + 0x2c]
call fcn.00445e35
push esi
call ebx
mov ebx, 0x200
test eax, eax
je 0x40cdf1
push ebx
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40cdf1
push ecx
mov eax, esp
lea ecx, [ebp - 0x410]
mov dword [eax], ecx
mov ecx, edi
call fcn.00445ebc
push ebx
lea eax, [ebp - 0x410]
push eax
push 0xf008
call fcn.00417ee2
add esp, 0xc
test eax, eax
je 0x40ce1d
lea eax, [ebp - 0x410]
push eax
push dword [edi + 0x1b4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, edi
call fcn.004955bb
ret 8
Function at 0x40e5cb
Capabilities:
Create process memory minidump
Get memory capacity
Get system information on windows

Disassembly:
push 0x21c
mov eax, 0x4aff3b
call fcn.0049560c
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x228], edi
call fcn.004111ff
and dword [ebp - 4], 0
lea ecx, [edi + 0x210]
call fcn.004109b6
lea ecx, [edi + 0x220]
mov byte [ebp - 4], 1
call fcn.00411475
lea eax, [edi + 0x24c]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [edi + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [edi + 0x290]
call fcn.004112e6
mov byte [ebp - 4], 3
call fcn.00425f07
push eax
lea ecx, [edi + 0x380]
call fcn.0040d0a6
lea ecx, [edi + 0x650]
mov byte [ebp - 4], 4
call fcn.0040c2a9
lea ecx, [edi + 0x67c]
mov byte [ebp - 4], 5
call fcn.0040c2a9
lea ecx, [edi + 0x6a8]
mov byte [ebp - 4], 6
call fcn.0040c2a9
mov byte [ebp - 4], 7
lea esi, [edi + 0x6d4]
call fcn.00425f07
push eax
mov ecx, esi
call fcn.0040d0a6
or dword [ebp - 0x21c], 0xffffffff
mov ecx, esi
push 0x80
mov byte [ebp - 4], 8
mov dword [ebp - 0x224], esi
call fcn.0043d403
mov dword [ebp - 0x220], eax
push dword [0x4ef8b0]
mov byte [ebp - 4], 9
push 0x4ba60c
push 0x80
push eax
call fcn.0042eaf1
add esp, 0x10
mov byte [ebp - 4], 8
mov ecx, esi
push 0xffffffffffffffff
call fcn.004431bf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [edi], eax
test eax, eax
je 0x40e7c8
call dword [sym.imp.dbghelp.dll_SymGetOptions]
or eax, 0x14
push eax
call dword [sym.imp.dbghelp.dll_SymSetOptions]
push 1
push 0
push dword [edi]
call dword [sym.imp.dbghelp.dll_SymInitialize]
test ebx, ebx
je 0x40e739
push ebx
lea ecx, [edi + 0x330]
call fcn.0041467f
push dword [ebx + 4]
lea ecx, [edi + 0x650]
push dword [edi]
push dword [edi]
call fcn.00423351
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x4ef8b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..dmp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
push eax
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40e790
call fcn.00417d0b
jmp 0x40e794
mov esi, eax
mov eax, ebx
test eax, eax
jne 0x40e7bd
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x452a58
push eax
push ebx
push ebx
push ebx
push esi
push dword [edi + 4]
mov dword [ebp - 0x21c], edi
push dword [edi]
call sub.dbghelp.dll_MiniDumpWriteDump
test esi, esi
je 0x40e7c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004955bb
ret 4
Function at 0x40ef82
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x40ef93
mov dword [esi], eax
jmp 0x40efc2
and dword [esi], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
test ax, ax
jns 0x40efa9
or dword [esi], 1
push 4
call edi
test ax, ax
jns 0x40efb5
or dword [esi], 0x10
push 2
call edi
pop edi
test ax, ax
jns 0x40efc2
or dword [esi], 2
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x410712
Capabilities:
Get hostname

Disassembly:
push 8
mov eax, 0x4b0539
call fcn.004955d9
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.00425f07
push eax
mov ecx, ebx
call fcn.0040d0a6
and dword [ebp - 4], 0
lea esi, [ebx + 4]
call fcn.00425f07
push eax
mov ecx, esi
call fcn.0040d0a6
mov byte [ebp - 4], 1
lea edi, [ebx + 8]
call fcn.00425f07
push eax
mov ecx, edi
call fcn.0040d0a6
mov byte [ebp - 4], 2
call fcn.00425f07
push eax
lea ecx, [ebx + 0xc]
call fcn.0040d0a6
mov byte [ebp - 4], 3
call fcn.00425f07
push eax
lea ecx, [ebx + 0x10]
call fcn.0040d0a6
mov byte [ebp - 4], 4
call fcn.00425f07
push eax
lea ecx, [ebx + 0x14]
call fcn.0040d0a6
mov byte [ebp - 4], 5
call fcn.00425f07
push eax
lea ecx, [ebx + 0x18]
call fcn.0040d0a6
mov byte [ebp - 4], 6
call fcn.00425f07
push eax
lea ecx, [ebx + 0x1c]
call fcn.0040d0a6
push 0xf
pop eax
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], eax
call fcn.0043d403
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x10]
push ecx
push eax
push 2
call ebx
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
call fcn.004431bf
push 0xf
pop eax
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 3
call ebx
push 0xffffffffffffffff
mov ecx, esi
call fcn.004431bf
push 0xf
pop esi
push esi
mov ecx, edi
mov dword [ebp - 0x10], esi
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 1
call ebx
push 0xffffffffffffffff
mov ecx, edi
call fcn.004431bf
mov edi, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x10], esi
lea ecx, [edi + 0xc]
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0xc]
call fcn.004431bf
push esi
pop eax
push eax
lea ecx, [edi + 0x10]
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 6
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0x10]
call fcn.004431bf
push esi
pop eax
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 7
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0x14]
call fcn.004431bf
push esi
pop eax
push eax
lea ecx, [edi + 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 5
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0x18]
call fcn.004431bf
push esi
pop eax
push eax
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x10]
push ecx
push eax
push 4
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0x1c]
call fcn.004431bf
mov eax, edi
call fcn.004955a7
ret