joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417190
cmp edx, dword [eax]
je 0x41378b
add eax, 8
inc ecx
cmp eax, 0x417220
jl 0x41377c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417190]
jne 0x4138b9
mov eax, dword [0x417bb0]
cmp eax, 1
je 0x413893
test eax, eax
jne 0x4137bc
cmp dword [0x4170e4], 1
je 0x413893
cmp edx, 0xfc
je 0x4138b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4137f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00414670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00414490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x413836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41645c
push edi
call fcn.00414f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00414670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00414680
lea eax, [ebp - 0xa0]
push 0x41643c
push eax
call fcn.00414680
push dword [esi + 0x417194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00414680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00414e75
add esp, 0x2c
pop edi
jmp 0x4138b9
lea eax, [ebp + 8]
lea esi, [esi + 0x417194]
push 0
push eax
push dword [esi]
call fcn.00414490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40445d
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2002c
call fcn.00441ef0
push ebx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.0040c25d
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
push 0x7fff
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 8]
call fcn.00404862
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x44370f
mov eax, dword [0x4d1400]
test eax, eax
je 0x443727
xor edi, edi
mov esi, 0x4d2390
inc edi
cmp eax, edi
je 0x443733
lea eax, [esp + 0x11]
push eax
push ecx
push 0x4d1400
push 0x4d1418
mov ecx, esi
call fcn.0040480e
test al, al
je 0x443752
mov al, byte [0x4d2390]
mov byte [0x4d1404], al
mov al, byte [0x4d2391]
mov byte [esp + 0x12], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1003c]
push eax
push 0x7fff
push dword [0x4d1418]
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
push dword [esp + 0x14]
mov ecx, 0x4d13f0
call fcn.004084e7
mov bl, byte [esp + 0x11]
push dword [0x4d1400]
push 0x4d1418
call fcn.004036fb
test eax, eax
jne 0x44375d
cmp byte [esp + 0x12], 1
je 0x44377a
call fcn.004045ae
call fcn.0040468e
cmp byte [0x4d1404], 0
mov ebx, 0x4d1990
jne 0x40456f
mov ecx, ebx
call fcn.004056c2
push edi
mov ecx, 0x4d1430
call fcn.0040f060
cmp byte [0x4d1404], 0
jne 0x40458a
mov ecx, ebx
call fcn.00404b1d
mov ecx, esi
call fcn.00405ba6
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea ecx, [esp + 0x28]
call fcn.0040b1ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10
push 0x4c59b8
push str.This_is_a_third_party_compiled_AutoIt_script.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40459c
or dword [0x4d135c], 0xffffffff
jmp 0x404591
push 0xffffffffffffffff
push dword [0x4d1408]
mov ecx, esi
push edi
call fcn.00408f2c
mov al, byte [0x4d1364]
mov byte [0x4d2392], al
jmp 0x40452d
mov dword [0x4d135c], edi
jmp 0x404591
mov ecx, esi
call fcn.00405ba6
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4d135c], edi
jmp 0x40459c
call fcn.004615a7
test al, al
jne 0x404550
cmp byte [esp + 0x13], al
jne 0x404550
lea ecx, [esp + 0x28]
call fcn.004058e5
push 0x4c2244
lea ecx, [esp + 0x1c]
call fcn.0040b606
lea ecx, [esp + 0x18]
test bl, bl
je 0x4437d7
mov edi, 0x4c59ec
push edi
call fcn.004052b7
push 0x4d1418
lea ecx, [esp + 0x1c]
call fcn.00407cf8
push edi
lea ecx, [esp + 0x1c]
call fcn.004052b7
push 1
jmp 0x4437e0
push dword [ebp + 8]
call fcn.004052b7
push edi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
push 0x4c59f0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
call fcn.0040b1ff
jmp 0x40458a
Function at 0x4059a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x405a24
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405a24
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405a24
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405a0b
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x405a1b
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x405a09
xor al, al
jmp 0x405a17

Function at 0x406122
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x40615a
push edi
push 0
push 0x49d084
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x4442f1
pop edi
pop esi
pop ebx
leave
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406159
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x406159
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x406159
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x406159
Function at 0x40b3b0
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 0x40b42b
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x40b3ec
mov ecx, dword [esi + 0xc]
lea ebx, [ebx]
cmp ecx, dword [esi + 8]
je 0x40b3fc
mov eax, dword [esi + 4]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
cmp edi, ebx
jb 0x40b3d0
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 0x40b3ec
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40b3ec
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [esi + 0xc], 0
jmp 0x40b3d5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0041e3db
jmp 0x40b3be
Function at 0x41efad
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp ebx, esi
je 0x41f0c6
push edi
xor edi, edi
test esi, esi
jne 0x41efdc
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
jne 0x45f184
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x41f0d4
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp - 4], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
push 1
push edi
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 8]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x41f0cf
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 - 0xc]
test eax, eax
jne 0x41f0cb
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push 0
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 8]
push edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x41f0c2
push 4
jmp 0x41f0d1
push 3
pop ebx
jmp 0x41f0a5
push 2
pop ebx
jmp 0x41f0bf
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41efeb
Function at 0x41f5b3
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4d1363]
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], al
push 0x8000
push edi
mov esi, edx
call fcn.0042d8e5
pop ecx
push eax
call fcn.0042d706
cmp dword [esi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x45f3b5
lea ecx, [ebp - 0x18]
call fcn.0040b443
mov ecx, esi
call fcn.00408e90
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x18]
call fcn.0041f7a8
push dword [ebp - 0x18]
push 0x49d174
push edi
call fcn.0041f653
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x45f3d5
lea ecx, [ebp - 0x18]
call fcn.0040b1ff
mov esi, dword [ebp - 8]
push edi
call fcn.0042dd29
push edi
call fcn.0042d8e5
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x41f643
mov ebx, 0x4000
push ebx
push eax
call fcn.0042d706
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push edi
mov ecx, esi
call fcn.00471e24
push eax
push 1
call fcn.00471db4
push eax
call fcn.0042db43
add esp, 0x10
mov esi, eax
jmp 0x41f62b
mov ecx, esi
call fcn.00408e90
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
jmp 0x41f620

Function at 0x43921b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043909a

Function at 0x43d170
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ce30
Function at 0x4605c7
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 dword [ebp - 0x10], ebx
mov edi, edx
mov dword [ebp - 0xc], ebx
call fcn.0040c25d
lea ecx, [ebp - 0x20]
call fcn.0040c25d
lea ecx, [ebp - 0x40]
call fcn.0040c25d
push 0x4c5970
lea ecx, [ebp - 0x30]
call fcn.004084e7
push esi
lea ecx, [ebp - 0x30]
call fcn.004052b7
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.004052b7
lea ecx, [ebp - 0x20]
call fcn.0040bfbf
test edi, edi
je 0x46064a
push 0x5c
pop eax
cmp word [edi], ax
je 0x46064a
cmp word [edi + 2], ax
je 0x46064a
push 0x4c59a4
lea ecx, [ebp - 0x20]
call fcn.004084e7
push edi
lea ecx, [ebp - 0x20]
call fcn.004052b7
cmp dword [ebp + 0xc], ebx
je 0x46069b
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004222d0
add esp, 0xc
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040c1c3
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.004052b7
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x460727
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 0x460727
lea eax, [ebp - 0xc]
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 0x460722
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x1fe
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x46071d
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 8]
shr eax, 1
mov dword [ebp - 8], 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 - 0xc]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.0040b1ff
lea ecx, [ebp - 0x20]
call fcn.0040b1ff
lea ecx, [ebp - 0x30]
call fcn.0040b1ff
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x460f58
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push esi
push 0
push dword [eax]
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
jne 0x460fb0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x460fae
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 0x460fae
push esi
push dword [esi]
push eax
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x461412
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
test byte [ebp + 0x14], 1
mov eax, ebx
push edi
mov dword [ebp - 4], eax
mov edi, ebx
je 0x46142a
inc edi
jmp 0x461433
test byte [ebp + 0x14], 2
je 0x461433
push 2
pop edi
test byte [ebp + 0x14], 4
je 0x461472
push esi
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
pop esi
je 0x46149e
mov eax, dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x400
push eax
push dword [ebp + 0x1c]
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
cmp dword [ebp - 4], 0
je 0x4614ad
push dword [ebp - 4]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
mov al, bl
pop ebx
leave
ret 0x28

Function at 0x4615a7
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov word [ebp - 0xc], 0x500
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
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
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
test eax, eax
je 0x4615fe
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 eax, dword [ebp - 4]
cmp eax, 1
pop ebx
sete al
leave
ret

Function at 0x461747
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]
mov ebx, eax
push 2
push 0
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 0x4617b8
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x461a70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
mov esi, ecx
lea eax, [ebp - 8]
push eax
push 0xb0
mov dword [ebp - 0x10], esi
push dword [esi]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x461b13
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x461b13
cmp edi, dword [ebp - 8]
jb 0x461b13
cmp edi, dword [ebp - 4]
jb 0x461b13
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd8b
pop ecx
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x461b08
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x461af7
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.004084e7
mov bl, 1
push esi
call fcn.0041fd94
pop ecx
mov al, bl
jmp 0x461b15
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4624e6
Capabilities:
Log keystrokes

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

Function at 0x462ceb
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dl, 1
jne 0x462d17
lea eax, [ebp - 4]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x462d2e
push 1
jmp 0x462d18
push esi
push esi
push edi
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 edi
pop esi
leave
ret
Function at 0x46afc6
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
test esi, esi
js 0x46b04a
jne 0x46afd9
push 0
jmp 0x46b044
cmp esi, 0xf
jae 0x46b043
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x46b043
mov dword [ebp - 4], esi
fild dword [ebp - 4]
test esi, esi
jns 0x46affc
fadd qword [0x4c81d0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fstp qword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sbb eax, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
fild qword [ebp - 8]
fstp qword [ebp - 0x20]
call fcn.0041e364
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x46b005
jmp 0x46b04a
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00469e9c
mov eax, dword [ebp + 8]
mov word [esi + 8], ax
test ax, ax
je 0x46b1f6
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x46b1f6
push ebx
mov ebx, eax
mov byte [esi], al
push 0
movzx eax, al
push eax
sar ebx, 8
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x46b1df
mov byte [esi + 1], 1
test bl, 2
je 0x46b1e8
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x46b1f2
mov byte [esi + 4], 1
mov al, 1
jmp 0x46b1f8
xor al, al
pop esi
pop ebp
ret 4

Function at 0x46cc1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 8], edi
je 0x46cc37
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.0046cb55
push edi
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], edi
pop edi
pop esi
leave
ret 8
Function at 0x46ce1e
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20034
call fcn.00441ef0
push ebx
push esi
lea eax, [ebp - 0x20034]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.0046dcfe
lea eax, [ebp - 0x10034]
mov edx, 0x7fff
push eax
mov ecx, esi
call fcn.0046dcfe
pop ecx
pop ecx
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x20034]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x46cea8
cmp byte [ebp + 8], al
je 0x46cecc
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x20034]
push eax
call fcn.004251c2
pop ecx
pop ecx
test eax, eax
je 0x46cf8d
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x20034]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x46cf8d
lea ecx, [ebp - 0x20034]
call fcn.0046e0b7
test al, al
je 0x46cecc
lea ecx, [ebp - 0x10034]
call fcn.0046e0b7
test al, al
je 0x46ced2
cmp byte [ebp + 8], 0
jne 0x46cf0b
xor al, al
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x10034]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b606
lea ecx, [ebp - 0x34]
call fcn.0046d1df
mov bl, al
lea ecx, [ebp - 0x34]
neg bl
sbb bl, bl
call fcn.0040b1ff
add bl, 1
jne 0x46cecc
lea ecx, [ebp - 0x10034]
call fcn.0046e0b7
test al, al
je 0x46cecc
lea eax, [ebp - 0x20034]
push 0x4c68dc
push eax
call fcn.00428fc8
lea eax, [ebp - 0x20034]
push eax
call fcn.004248f3
xor ecx, ecx
mov word [ebp + eax*2 - 0x20032], cx
lea eax, [ebp - 0x10034]
push eax
call fcn.004248f3
xor ecx, ecx
mov dword [ebp - 0x20], 2
add esp, 0x10
mov word [ebp + eax*2 - 0x10032], cx
lea eax, [ebp - 0x20034]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10034]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0x24], eax
mov eax, 0x614
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x46cecc
mov al, 1
jmp 0x46cece