joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a3b
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x405008], 2
push ebx
jne 0x403b9d
xor ebx, ebx
push ebx
push ebx
call fcn.0040396e
test eax, eax
jne 0x403a6b
mov dword [0x405008], 1
jmp 0x403b9d
lea eax, [ebp - 0xc]
mov byte [ebp - 0x18], bl
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x18]
push 2
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x403b9d
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040396e
cmp dword [ebp - 0x10], 5
jb 0x403af3
push 0x401650
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x403b93
push 0x401638
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x403ae7
push 0x405008
push dword [ebp - 0xc]
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403b93
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403b93
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call edi
test eax, eax
jne 0x403b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x403b89
push dword [ebp - 4]
push reloc.user32.dll_GetParent
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x403b89
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x403b82
cmp dword [esi], ebx
jbe 0x403b82
lea edi, [esi + 4]
push dword [ebp - 0xc]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x403b78
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x403b5f
jmp 0x403b82
mov dword [0x405008], 1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov ecx, dword [0x405008]
pop ebx
mov eax, ecx
dec eax
dec eax
neg eax
sbb eax, eax
and eax, ecx
leave
ret
Function at 0x403bc3
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 4], esi
call fcn.0040396e
test eax, eax
je 0x403c18
lea eax, [ebp - 8]
push eax
push 1
push esi
push 0x401688
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c4a
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push 0x40166c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c4a
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x10c]
push 0x401660
push eax
call fcn.00403529
lea eax, [ebp - 0x10c]
push eax
call fcn.0040391a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x403c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 4], 0x80004005
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x58], 0x44
cmp esi, edi
je 0x403c7b
mov dword [esi], edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403cf7
cmp esi, edi
mov dword [ebp - 4], edi
je 0x403ca3
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
cmp dword [ebp + 0xc], edi
je 0x403ce2
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00403d19
test eax, eax
jne 0x403cbe
mov dword [ebp - 4], 0x80070102
cmp dword [ebp - 4], edi
jl 0x403ce2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
and eax, 0xff000000
cmp eax, 0xaa000000
jne 0x403ce2
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
jmp 0x403d13
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x403d07
call esi
jmp 0x403d13
call esi
and eax, reloc.user32.dll_MonitorFromRect
or eax, 0x80070000
pop edi
pop esi
leave
ret 0x10

Function at 0x403d9b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
push esi
push esi
call fcn.0040396e
test eax, eax
je 0x403df5
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403df5
lea eax, [ebp - 0x10]
push eax
push 0x4016bc
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x408960
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
mov ecx, dword [esp]
add esp, 4
call fcn.00408980
xor dword [edi], ecx
inc edi
mov eax, eax
cmp edi, ebx
jne fcn.00408960
dec eax
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xb6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x79
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xae
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x68
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe9
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 9
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x1b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x17
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc9
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4995f1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x504c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49963c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499ab3
test al, al
jne 0x499636
sub edx, 2
cmp edx, edi
jne 0x49961c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49965e
lea eax, [edi + 2]
cmp edx, eax
je 0x49965e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004991ea
add esp, 0x10
jmp 0x499758
push esi
lea ecx, [ebp - 0x255]
call fcn.00499ab3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4996a1
push dword [ebp - 0x25c]
jmp 0x49964e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4996de
cmp word [ebp - 0x226], 0
je 0x4996ff
cmp word [ebp - 0x226], ax
jne 0x4996de
cmp word [ebp - 0x224], 0
je 0x4996ff
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004991ea
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49974b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4996b8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499733
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499758
push 0x498bd2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405542
add esp, 0x10
jmp 0x499728
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403044
leave
ret

Function at 0x401222
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.00401163
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4032ed
push eax
sub edi, fcn.00402a87
push edi
push fcn.00402a87
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401299
mov eax, fcn.00402a87
mov ebx, esi
mov edx, edi
call fcn.00401163
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00401932
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.00402461
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00402a87
lea esp, [ebp + 0x82]
pop ebp
Function at 0x402b10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402bd7
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x4dbc08]
mov ebx, eax
push dword [0x4dbc04]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [edi + 0x20], 0
mov dword [ebp - 4], eax
je 0x402b85
push dword [edi + 0x54]
push edi
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push ebx
mov ecx, edi
call fcn.00402be0
push ebx
mov ecx, edi
call fcn.00402ca0
lea eax, [ebp - 0x20]
push eax
call fcn.00482f6b
mov ecx, dword [edi + 4]
add esp, 4
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
sub eax, ecx
push 0xcc0020
push ecx
push edx
push ebx
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push ebx
call esi
push dword [ebp - 0xc]
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4057c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a090e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4d4524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
push 0x66
call fcn.004309b1
mov dword [ebp - 4], 0
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa8], vtable.IMainOption.0
mov dword [esi], vtable.CScreenshotDlg.1.0
mov dword [esi + 0xa8], vtable.CScreenshotDlg.0
call fcn.0040ced0
mov dword [esi + 0x164], 0
mov dword [esi + method.CFont.virtual_0], vtable.CFont.0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x17c]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
call fcn.00408230
lea ecx, [esi + 0x274]
mov byte [ebp - 4], 3
call fcn.004042a0
lea ecx, [esi + 0x904]
mov byte [ebp - 4], 4
call fcn.004029b0
push 0x4dbc18
mov byte [ebp - 4], 5
call fcn.00482887
mov eax, dword [0x4dbc0c]
add esp, 4
mov dword [0x4dbc10], eax
push 0
push 0x40b820
call dword [sym.imp.USER32.dll_EnumWindows]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0040b710
call fcn.004271b6
call fcn.004271b6
push 0x81
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x990], eax
call dword [sym.imp.USER32.dll_GetCursor]
mov dword [esi + 0x98c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00482f6b
add esp, 4
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x970], xmm0
call fcn.00405fb0
movups xmm1, xmmword [esi + 0x970]
mov edx, eax
movups xmm2, xmmword [esi + 0x970]
mov dword [esi + 0x980], edx
movaps xmm0, xmm1
psrldq xmm1, 4
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm2
movd eax, xmm1
psrldq xmm0, 8
sub ecx, eax
movd eax, xmm2
push ecx
movd ecx, xmm0
sub ecx, eax
push ecx
push edx
call fcn.00406080
mov dword [esi + 0x984], eax
call fcn.004271b6
call fcn.004271b6
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0xac], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405a40
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
call fcn.004313da
mov dword [edi + 0x190], edi
lea ebx, [edi + 0x17c]
test edi, edi
jne 0x405a64
xor eax, eax
jmp 0x405a67
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x70], eax
movups xmm1, xmmword [edi + 0x970]
push 0x40
movups xmm2, xmmword [edi + 0x970]
movaps xmm0, xmm1
psrldq xmm1, 4
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm2
movd eax, xmm1
psrldq xmm0, 8
sub ecx, eax
movd eax, xmm2
push ecx
movd ecx, xmm0
sub ecx, eax
push ecx
push dword [edi + 0x974]
mov ecx, edi
push dword [edi + 0x970]
push 0x4d9188
call fcn.0043406e
push 0
push 0x80
push 0x40008
mov ecx, edi
call fcn.00433d03
push dword [edi + 0xac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi + 0x20]
call esi
push dword [edi + 0xac]
push 0
push 0x80
push dword [edi + 0x20]
call esi
call fcn.004271b6
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x4059e0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi + 0x20]
mov dword [edi + 0x954], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x980]
mov dword [edi + 0x950], eax
push dword [edi + 0x278]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x405b9a
call fcn.004271b6
mov eax, dword [eax + 8]
push eax
call fcn.004533c1
add esp, 4
lea ecx, [edi + 0x274]
push 0
push 0x24
push 0x126
push 0
push 0
push 0x100
push 0x10ce0000
push 0x4bca48
push dword [ebp - 4]
call fcn.00455314
lea ecx, [edi + 0x274]
call fcn.004551c0
push 1
push 0
lea ecx, [edi + 0x274]
call fcn.004556ed
mov dword [edi + 0x8f4], ebx
lea eax, [edi + 0xa8]
mov dword [edi + 0x8f8], eax
neg ebx
lea eax, [edi + 0x180]
sbb ebx, ebx
and ebx, eax
lea eax, [edi + 0x970]
push eax
lea eax, [edi + 0x1f0]
mov dword [edi + 0x8b8], ebx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.00429739
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, edi
call fcn.00433ff6
movaps xmm0, xmmword [str._n_ndd]
lea eax, [ebp - 0x14]
push 1
push edi
push eax
push 0x50011044
lea ecx, [edi + 0xb0]
movups xmmword [ebp - 0x14], xmm0
call fcn.0043423e
mov eax, dword [edi + 0x18c]
sub eax, 0
je 0x405c36
sub eax, 1
je 0x405c28
sub eax, 1
je 0x405c2f
mov eax, 0xfffffff0
jmp 0x405c3b
mov eax, 0xffffffec
jmp 0x405c3b
mov eax, 0xfffffff4
push 0x4bc668
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push eax
lea esi, [edi + 0x160]
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, esi
call fcn.00426408
test esi, esi
jne 0x405c7b
xor eax, eax
jmp 0x405c7e
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
lea ecx, [edi + 0xb0]
call fcn.0043411b
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405fb0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x4d4524]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
lea eax, [ecx + 0x970]
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x405ffa
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x18]
mov edi, eax
sub edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push edx
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push 0xcc0020
push ecx
push edx
push esi
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
sub eax, edx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret
Function at 0x406b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4d4524]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x234], 0
je 0x406c5f
mov edx, dword [edi + 0x208]
lea esi, [edi + 0x17c]
mov ebx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
cmp ebx, edx
jle 0x406b60
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
cmp ecx, eax
jle 0x406b6c
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
push dword [0x4dbc00]
lea eax, [esp + 0x20]
push dword [0x4dbbfc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x406bb8
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004086d0
test eax, eax
je 0x406bb8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [0x4dbbfc]
add ecx, dword [0x4dbc00]
jmp 0x406bcd
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
inc ecx
cmp dword [esi + 0xac], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
je 0x406bea
mov al, 1
jmp 0x406c14
cmp dword [esi + 0xb0], 0
je 0x406c12
cmp dword [esi + 0xb4], 8
je 0x406c12
cmp dword [esi + 0xbc], 0
jne 0x406c12
cmp dword [esi + 0xcc], 0
jne 0x406c12
mov al, 1
jmp 0x406c14
xor al, al
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x904]
call fcn.00402ed0
lea ecx, [edi + 0x274]
call fcn.0040f620
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x406c5f
push dword [edi + 0x20c]
mov ecx, edi
push dword [edi + 0x208]
push dword [edi + 0x204]
push dword [edi + 0x200]
call fcn.00406f70
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret 4