joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x415588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
lea ecx, [esp + 4]
mov dword [esp + 0x64], 1
call sub.MFC42u.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x6c]
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 2
call sub.MFC42u.DLL_CFileFind::FindFile
test eax, eax
je 0x40e70a
push edi
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CFileFind::Close
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
mov edx, dword [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
jne 0x40e74a
lea ecx, [esp + 4]
mov byte [esp + 0x64], 1
call fcn.00413b32
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov ecx, dword [esp + 0x58]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 4]
mov byte [esp + 0x64], 1
call fcn.00413b32
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x40eb00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
mov ecx, dword [esp + 0x214]
lea eax, [esp + 4]
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push 0x80000002
call esi
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push 0
push edx
push 0
push 0xf003f
push 3
push 0
push 0
push eax
push ecx
call esi
mov ecx, 0x12
mov esi, str.RegistryMACHINESOFTWARELogAction
lea edi, [esp + 0x10]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x6f
lea edi, [esp + 0x5a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esp + 8]
shl eax, 1
push eax
lea eax, [esp + 0x14]
push eax
push 6
push 0
push str.UnCreateRegKey
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop edi
pop esi
add esp, 0x210
ret 8

Function at 0x40ebf0
Capabilities:
Shutdown system

Disassembly:
mov eax, dword [0x41fac8]
push esi
push 0
push 0
push 0x10
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x20]
push 4
push 0x41b7fc
push 0x41f88c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40ec5b
mov eax, dword [esi + 0x78]
test eax, eax
je 0x40ec3c
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 5
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ShowWindow
pop esi
ret
push str.NtShutdownSystem
push str.ntdll.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x40ec5b
push 1
call eax
push 5
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ShowWindow
pop esi
ret
Function at 0x40ed40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4156a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 8], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call sub.MFC42u.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x3c]
push 0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call sub.MFC42u.DLL_CFileFind::FindFile
test eax, eax
je 0x40edf8
lea ecx, [esp + 0x3c]
push 0x41f70c
lea edx, [esp + 8]
push ecx
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 4]
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::CString
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.00413b2c
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0040ed40
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 4]
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CFileFind::Close
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00413b2c
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00413b32
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 8
Function at 0x4104a0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 8

Function at 0x4133b0
Capabilities:
Copy file
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415cc0
push eax
mov dword fs:[0], esp
mov dword [esp + 8], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
mov byte [esp + 8], 0
lea ecx, [esp + 0x10]
je 0x413426
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 8
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x40892c
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add edx, edx
and esi, edx
call fcn.0040894c
xor dword [ecx], ebx
inc edx
and esi, esi
inc ecx
and esi, edx
cmp ecx, eax
jne fcn.0040892c
or edx, esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402bcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c44
xor eax, eax
push ebp
push 0x402c3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402c44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x405438
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4055f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405499
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405610
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40550b
xor eax, eax
push ebp
push 0x405504
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00405290
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054ed
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405630
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40550b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4055ec
cmp byte [ebp - 0xd], 0
jne 0x40554d
cmp byte [ebp - 0x12], 0
je 0x4055ec
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405566
dec ebx
cmp byte [ebx], 0x2e
je 0x405575
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405565
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4055ec
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4055a2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4055ec
cmp byte [ebp - 0xd], 0
je 0x4055ec
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4055ec
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a058
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a091
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b0c
jmp 0x40a09a
mov eax, ebx
mov edx, esi
call fcn.00403a78
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a0a4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a0c5
mov al, byte [esp]
jmp 0x40a0c7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41810c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x418112
ret

Function at 0x41a5b4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41a605
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41a5ec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41a5dc
jmp 0x41a605
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41a5ed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42684c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x464784], 0
sete dl
or al, dl
jne 0x42698c
mov eax, dword [0x464788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x464784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42695b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x464784]
call fcn.0040f8e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x426953
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x426953
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x426953
mov eax, dword [ebp - 0x14]
call fcn.0042eb54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x426953
push ebp
call fcn.00426808
pop ecx
test al, al
jne 0x426953
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42690f
mov eax, dword [ebp - 0x14]
call fcn.0042d4e0
dec eax
jle 0x426953
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402f38
cmp byte [ebp - 1], 0
je 0x426953
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x426953
mov edx, dword [ebp - 0x14]
mov eax, dword [0x464788]
call fcn.00426054
inc edi
dec esi
jne 0x4268a2
mov eax, dword [0x464788]
cmp dword [eax + 8], 0
jle 0x426973
mov eax, dword [0x464788]
call fcn.004260e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42698c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00426670
pop ecx
test al, al
jne 0x42698c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c4ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42c51d
je 0x42c577
sub eax, 7
je 0x42c53e
dec eax
je 0x42c568
sub eax, 0x17
je 0x42c61c
jmp 0x42c65a
add eax, 0xffffff00
sub eax, 9
jb 0x42c608
add eax, 0xffffff09
sub eax, 0xb
jb 0x42c5d0
jmp 0x42c65a
mov eax, ebx
call fcn.0043e220
mov edi, eax
test edi, edi
je 0x42c6ba
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42c6c3
jmp 0x42c6ba
test byte [ebx + 0x44], 0x20
jne 0x42c6c3
jmp 0x42c6ba
mov edx, esi
mov eax, ebx
call fcn.00429aec
cmp dword [esi + 0xc], 0xffffffff
jne 0x42c6c3
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407138
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00428628
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042c3c4
test eax, eax
je 0x42c6c3
mov dword [esi + 0xc], 1
jmp 0x42c6c3
mov edx, esi
mov eax, ebx
call fcn.0042c458
test al, al
je 0x42c6ba
cmp dword [esi + 0xc], 0
jne 0x42c6c3
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042eb54
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x42c6c3
mov eax, ebx
call fcn.00429188
test al, al
jne 0x42c6c3
jmp 0x42c6ba
mov eax, ebx
call fcn.0042eb54
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42c6ba
cmp dword [0x46278c], 0
je 0x42c6ba
mov eax, dword [0x46278c]
cmp ebx, dword [eax + 0x24]
jne 0x42c6ba
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x46278c]
call fcn.00429a20
jmp 0x42c6ba
mov eax, dword [0x46474c]
cmp byte [eax + 0x20], 0
je 0x42c6ba
mov eax, dword [0x46474c]
cmp dword [eax + 0x1c], 0
je 0x42c6ba
mov eax, dword [esi]
mov edx, dword [0x46474c]
cmp eax, dword [edx + 0x1c]
jne 0x42c6ba
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043e164
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402f38
jmp 0x42c6c3
mov edx, esi
mov eax, ebx
call fcn.00429aec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cb84
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42cba0
cmp dword [esi + 4], 0
je 0x42cbcd
test byte [ebx + 0x45], 1
jne 0x42cbbf
mov eax, ebx
call fcn.0042babc
test eax, eax
jne 0x42cbbf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42ccdd
mov edx, esi
mov eax, ebx
call fcn.0042c7fc
jmp 0x42ccdd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42ccd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042eb54
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00429a20
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042cb84
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042eb54
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ccdd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403a24
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x436573
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403c54
pop ebx
mov esp, ebp
pop ebp
ret