joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40374e
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
push eax
xor bl, bl
push 0x104
mov byte [ebp - 5], bl
xor bh, bh
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp - 6]
push eax
push dword [ebp + 8]
call fcn.00404257
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x4721b7
mov eax, dword [0x4c1124]
test eax, eax
je 0x40386d
xor edi, edi
inc edi
mov esi, 0x4c22e8
cmp eax, edi
je 0x4721d0
lea eax, [ebp - 5]
push eax
push ecx
push 0x4c1124
push 0x4c113c
mov ecx, esi
call fcn.00403bff
test al, al
je 0x403876
mov al, byte [0x4c22e8]
mov bh, byte [0x4c22e9]
push 0x4c1120
mov byte [0x4c1128], al
lea eax, [ebp - 0x43c]
push eax
push 0x104
push 0x4c113c
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov bl, byte [ebp - 5]
push dword [0x4c1124]
push 0x4c113c
call fcn.004034f3
test eax, eax
jne 0x4721ef
cmp bh, 1
je 0x47220e
call fcn.004030a5
call fcn.00402e9d
cmp byte [0x4c1128], 0
mov ebx, 0x4c18f0
jne 0x403837
mov ecx, ebx
call fcn.00403598
push edi
mov ecx, 0x4c1348
call fcn.0040e1f0
cmp byte [0x4c1128], 0
jne 0x403852
mov ecx, ebx
call fcn.00402b94
mov ecx, esi
call fcn.00402c7d
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
or dword [0x4c10bc], 0xffffffff
jmp 0x403859
mov dword [0x4c10bc], edi
jmp 0x403859
push 0x10
push 0x4b2934
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403866
push 0xffffffffffffffff
push dword [0x4c112c]
mov ecx, esi
push edi
call fcn.00442f5b
mov al, byte [0x4c10c2]
mov byte [0x4c22ea], al
jmp 0x4037f7
mov ecx, esi
call fcn.00402c7d
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4c10bc], edi
jmp 0x403866
call fcn.0043be31
test al, al
jne 0x403818
cmp byte [ebp - 6], al
jne 0x403818
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x49daa4
lea ecx, [ebp - 0x18]
call fcn.0040caee
lea ecx, [ebp - 0x18]
test bl, bl
je 0x472271
mov edi, 0x4b29a0
push edi
call fcn.004039e8
push 0x4c113c
lea ecx, [ebp - 0x18]
call fcn.004039e8
push edi
lea ecx, [ebp - 0x18]
call fcn.004039e8
push 1
jmp 0x47227a
push dword [ebp + 8]
call fcn.004039e8
push edi
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x43c]
push eax
push 0x4b29a4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00405cd3
jmp 0x403852
Function at 0x40417d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x47587d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004244ae
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x4041a3

Function at 0x404ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x404d14
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x404cd7
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x404ce7
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
inc edi
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx - 1], al
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x404cb7
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x404cd7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x404cd7
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x404cbf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00404dc1
jmp 0x404cae
Function at 0x41dd92
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x474a7d
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x474a95
or eax, eax
jmp 0x41ddb1
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 8]
jmp 0x41ddb1
Function at 0x41eb05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
push ebx
call fcn.0040c4cd
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x474b17
xor al, al
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push 0x49dc44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b91
mov eax, dword [ebp - 4]
push esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042010a
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00404bce
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push 0x49dc44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b88
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 4], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00407e53
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00404fd2
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x41eb37

Function at 0x41f1c4
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c10c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.004235c3
pop ecx
push eax
call fcn.004233f5
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040d2c0
test al, al
jne 0x474ba1
lea ecx, [ebp - 0x18]
call fcn.0040a6d4
mov ecx, edi
call fcn.004084a6
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0041f26b
push dword [ebp - 0x18]
push 0x4aec3c
push esi
call fcn.004237bc
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x474bc1
lea ecx, [ebp - 0x18]
call fcn.00405cd3
mov edi, dword [ebp - 8]
push esi
call fcn.00423981
pop ecx
cmp ebx, 0xffffffff
je 0x474bd8
push ebx
push esi
call fcn.004235c3
pop ecx
push eax
call fcn.004233f5
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push esi
mov ecx, edi
call fcn.0044be8a
push eax
push 1
call fcn.0044be47
push eax
call fcn.0042373e
add esp, 0x10
mov edi, eax
jmp 0x41f244
mov ecx, edi
call fcn.004084a6
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
jmp 0x41f239
push 0x4000
jmp 0x41f255
Function at 0x41f78e
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x47437b
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x474390
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4743a4
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x47447f
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x47445b
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x474460
push 4
jmp 0x47445d
push 3
pop ebx
jmp 0x474463
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x474482
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x41f7ac
Function at 0x4346d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4badc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00428b9c
mov dword [ebp - 0x14], eax
cmp dword [0x4c1048], edi
jne 0x4347c1
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43474e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x4348a1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4348a1
push 0x49ba50
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4348a1
push eax
call ebx
push 0x49ba5c
push esi
mov dword [0x4c1048], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c104c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c1050], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c1058], eax
test eax, eax
je 0x4347be
push 0x49ba9c
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c1054], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x4347e6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4347d9
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4347fb
push 4
pop eax
jmp 0x4348a3
cmp dword [ebp - 0x14], edi
je 0x4347fb
push dword [0x4c1048]
call dword [0x4ba004]
push 3
jmp 0x4347e0
mov eax, dword [0x4c1054]
mov ebx, dword [0x4ba004]
cmp eax, esi
je 0x434859
cmp dword [0x4c1058], esi
je 0x434859
push eax
call ebx
push dword [0x4c1058]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x434859
test eax, eax
je 0x434859
call ecx
test eax, eax
je 0x43484e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43484e
test byte [ebp - 8], 1
jne 0x434859
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x434889
mov eax, dword [0x4c104c]
cmp eax, esi
je 0x434886
push eax
call ebx
test eax, eax
je 0x434886
call eax
mov edi, eax
test edi, edi
je 0x434886
mov eax, dword [0x4c1050]
cmp eax, esi
je 0x434886
push eax
call ebx
test eax, eax
je 0x434886
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c1048]
call ebx
test eax, eax
je 0x4348a1
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4348a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b4bf
leave
ret
Function at 0x43aee5
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call fcn.0040d3d2
lea ecx, [ebp - 0x20]
call fcn.0040d3d2
lea ecx, [ebp - 0x40]
call fcn.0040d3d2
push 0x4b28ec
lea ecx, [ebp - 0x30]
call fcn.00407e53
push esi
lea ecx, [ebp - 0x30]
call fcn.004039e8
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.004039e8
lea ecx, [ebp - 0x20]
call fcn.0040c4cd
test edi, edi
je 0x43af68
push 0x5c
pop eax
cmp word [edi], ax
je 0x43af68
cmp word [edi + 2], ax
je 0x43af68
push 0x4b2920
lea ecx, [ebp - 0x20]
call fcn.00407e53
push edi
lea ecx, [ebp - 0x20]
call fcn.004039e8
cmp dword [ebp + 0xc], ebx
je 0x43afb9
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00421970
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
call fcn.0040c935
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.004039e8
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x43b045
lea eax, [ebp - 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x43b045
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x43b040
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43b03b
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.00405cd3
lea ecx, [ebp - 0x20]
call fcn.00405cd3
lea ecx, [ebp - 0x30]
call fcn.00405cd3
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43b7ef
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
xor ebx, ebx
push ebx
push dword [eax]
mov edi, ecx
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43b846
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x43b849
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x43b849
push esi
push dword [esi]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43b849
xor ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x43bc90
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
call fcn.0043b9b8
test al, al
je 0x43bca2
pop ebp
jmp fcn.0043b9f1
pop ebp
jmp fcn.0043bca8

Function at 0x43be31
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x43be8a
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, 1
sete al
pop ebx
leave
ret

Function at 0x43be95
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0x14]
push dword [ebp + 0x1c]
and eax, 2
push 0
or eax, 4
shr eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 0x18

Function at 0x43bff5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 0
mov ebx, eax
push 0
push ebx
call edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 2
push 0
push 0
lea eax, [ebx + 8]
push eax
call edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 4], eax
xor eax, eax
push eax
push eax
push ebx
push 0x43c066
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x43c39d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 0xb0
push dword [esi]
mov dword [ebp - 0x10], esi
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x43c3cd
xor al, al
jmp 0x43c447
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x43c444
cmp edi, dword [ebp - 8]
jb 0x43c444
cmp edi, dword [ebp - 4]
jb 0x43c444
xor ecx, ecx
push 2
lea esi, [edi + 1]
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042010a
pop ecx
push eax
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x43c439
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x43c428
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [esi + eax*2]
push eax
call fcn.00407e53
mov bl, 1
push esi
call fcn.0042017e
pop ecx
mov al, bl
jmp 0x43c446
xor al, al
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x43cde6
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
push dword [esi]
mov dword [ebp - 4], esi
call fcn.0043e138
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 1
push eax
cmp dword [ebp + 8], ebx
jge 0x43ce3e
push 0x25
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x43ce66
push 0x27
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
mov edi, dword [ebp - 4]
push 0x101
push dword [edi]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push dword [edi]
call fcn.0043e138
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4

Function at 0x43d623
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [ebp + 0xc], 1
jne 0x43d64e
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x43d667
push 1
jmp 0x43d64f
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x4449d1
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x444a56
jne 0x4449e5
push 0
jmp 0x444a50
cmp esi, 0xf
jae 0x444a4f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x444a4f
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x444a08
fadd qword [0x4b6568]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0041ebde
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x444a11
jmp 0x444a56
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret 4

Function at 0x444ba6
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x444bca
xor al, al
jmp 0x444c0f
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x444bc6
push ebx
mov ebx, eax
mov byte [esi], al
movzx eax, al
push 0
push eax
sar ebx, 8
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x444bfa
mov byte [esi + 1], 1
test bl, 2
je 0x444c03
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x444c0d
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x446852
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00446623
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
leave
ret 8
Function at 0x4469f9
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.004031b8
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.004031b8
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
pop esi
test eax, eax
jne 0x446a70
cmp byte [ebp + 8], al
je 0x446a6c
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422203
pop ecx
pop ecx
test eax, eax
je 0x446a68
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x438]
call fcn.00447c0c
test al, al
je 0x446a6c
lea ecx, [ebp - 0x22c]
call fcn.00447c0c
test al, al
je 0x446b1a
cmp byte [ebp + 8], 0
je 0x446a6c
lea eax, [ebp - 0x438]
push 0x4b37ac
push eax
call fcn.00421914
lea eax, [ebp - 0x438]
push eax
call fcn.004218fb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004218fb
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x22c]
call fcn.00446d6d
test al, al
je 0x446a6c
lea ecx, [ebp - 0x22c]
call fcn.00447c0c
test al, al
jmp 0x446a96