joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f35bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3660
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.004f3328
mov edi, eax
test edi, edi
jbe 0x4f364a
push 3
push edi
call sub.user32.dll_ShowWindow
push edi
call sub.user32.dll_SetForegroundWindow
push 0
push 0x4f3670
push 0
push edi
call sub.user32.dll_FindWindowExW
mov esi, eax
mov eax, esi
call fcn.004f33dc
push 0x64
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f3270
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004f3400
push 0
push 0x4f368c
push 0
push edi
call sub.user32.dll_FindWindowExW
mov esi, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f34c4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3667
lea eax, [ebp - 0xc]
call fcn.00406118
ret

Function at 0x4f36a8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
xor ecx, ecx
mov dword [ebp - 0x2bc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406110
xor eax, eax
push ebp
push 0x4f3748
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2bc]
mov eax, dword [ebp - 4]
call fcn.004f2fa8
mov edx, dword [ebp - 0x2bc]
lea eax, [ebp - 4]
call fcn.0040617c
test bl, bl
je 0x4f36fc
mov ebx, 0x111
jmp 0x4f3701
mov ebx, 0x110
push ebx
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.004061b4
push eax
call sub.SHELL32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f374f
lea eax, [ebp - 0x2bc]
call fcn.00406118
lea eax, [ebp - 4]
call fcn.00406118
ret

Function at 0x4f3758
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x114
call fcn.0040395c
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 2
jne 0x4f3821
mov eax, dword [esp + 4]
add eax, 0xfffffffd
sub eax, 2
jae 0x4f379f
mov eax, ebx
mov edx, 0x4f3838
call fcn.00406128
cmp dword [esp + 4], 5
jne 0x4f37b9
cmp dword [esp + 8], 0
jne 0x4f37b9
mov eax, ebx
mov edx, 0x4f385c
call fcn.00406128
cmp dword [esp + 4], 5
jne 0x4f37d3
cmp dword [esp + 8], 1
jne 0x4f37d3
mov eax, ebx
mov edx, 0x4f3884
call fcn.00406128
cmp dword [esp + 4], 5
jne 0x4f37ed
cmp dword [esp + 8], 2
jne 0x4f37ed
mov eax, ebx
mov edx, 0x4f38a8
call fcn.00406128
cmp dword [esp + 4], 6
jne 0x4f3807
cmp dword [esp + 8], 0
jne 0x4f3807
mov eax, ebx
mov edx, 0x4f38dc
call fcn.00406128
cmp dword [esp + 4], 6
jne 0x4f3821
cmp dword [esp + 8], 1
jne 0x4f3821
mov eax, ebx
mov edx, 0x4f3904
call fcn.00406128
add esp, 0x114
pop ebx
ret

Function at 0x4f3918
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.004062f8
add esp, 0x200
pop ebx
ret
Function at 0x4f3948
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.004062f8
add esp, 0x200
pop ebx
ret
Function at 0x4f9cb0
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_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4f9d01
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4f9ce8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4f9cd8
jmp 0x4f9d01
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 0x4f9ce9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50a2f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x50a322
mov eax, ebx
call fcn.0050ada8
cmp dword [ebx + 0x40], 0
je 0x50a31b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x50a393
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x50a385
cmp dword [ebx + 8], 0
je 0x50a344
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50a356
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50a385
cmp dword [ebx + 8], 0
je 0x50a337
cmp eax, 3
je 0x50a369
dec eax
jne 0x50a337
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50a337
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x50a337
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x50a3b1
cmp dword [ebx + 0x14], 0xcc
je 0x50a3b1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0050a3bc
pop ebx
ret
Function at 0x5228f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff938
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406110
xor eax, eax
push ebp
push 0x5229ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.kernel32.dll_CreateJobObjectA
mov ebx, eax
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.0040d420
lea edx, [ebp - 8]
xor eax, eax
call fcn.00406b08
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.0040d420
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040395c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], 5
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x5229ad
or esi, 0xffffffff
jmp 0x5229e4
mov eax, dword [ebp - 0x664]
push eax
push ebx
call sub.kernel32.dll_AssignProcessToJobObject
lea eax, [ebp - 0xc]
push eax
push 0x60
lea eax, [ebp - 0x6c8]
push eax
push 8
push ebx
call sub.kernel32.dll_QueryInformationJobObject
cmp dword [ebp - 0x6a0], 0
jbe 0x5229e4
push 0x1f4
call sub.kernel32.dll_Sleep_1
jmp 0x5229ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522a06
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406120
ret
Function at 0x522a10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406110
xor eax, eax
push ebp
push 0x522bed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00406128
xor edx, edx
push ebp
push 0x522bb8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004061b4
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test bl, bl
je 0x522bae
push ebx
push 2
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
push edi
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004061b4
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov edx, 0x522bfc
lea eax, [ebp - 0x218]
call fcn.0040d3c4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x522b97
mov eax, dword [ebp - 0x18]
test al, al
je 0x522b97
mov eax, dword [ebp - 0x14]
test al, al
je 0x522b97
mov eax, dword [ebp - 0x14]
push esi
mov esi, eax
lea edi, [ebp - 0x24c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop esi
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x244]
shr eax, 0x10
movzx eax, ax
call fcn.0040c670
push dword [ebp - 0x250]
push 0x522c0c
lea edx, [ebp - 0x254]
movzx eax, word [ebp - 0x244]
call fcn.0040c670
push dword [ebp - 0x254]
push 0x522c0c
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 0x240]
shr eax, 0x10
movzx eax, ax
call fcn.0040c670
push dword [ebp - 0x258]
push 0x522c0c
lea edx, [ebp - 0x25c]
movzx eax, word [ebp - 0x240]
call fcn.0040c670
push dword [ebp - 0x25c]
lea eax, [ebp - 8]
mov edx, 7
call fcn.0040659c
push esi
call sub.kernel32.dll_GlobalUnlock
push esi
call sub.kernel32.dll_GlobalFree
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00406128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522bc2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522bf4
lea eax, [ebp - 0x25c]
mov edx, 4
call fcn.00406120
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406120
ret
Function at 0x526264
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x52627d
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
je 0x526379
mov eax, dword [0x535c54]
cmp dword [eax], 2
jne 0x52629e
mov eax, dword [0x535738]
cmp dword [eax], 4
jg 0x5262d2
mov eax, dword [0x535c54]
cmp dword [eax], 1
jne 0x526361
mov eax, dword [0x535738]
cmp dword [eax], 4
jg 0x5262d2
mov eax, dword [0x535738]
cmp dword [eax], 4
jne 0x526361
mov eax, dword [0x535a78]
cmp dword [eax], 0
jle 0x526361
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x526319
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x52636d
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoW
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
jmp 0x52636d
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
jmp 0x52637b
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405ab4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405b1a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40aba0
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 0x40abd9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40abe2
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40abec
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 0x40ac0d
mov al, byte [esp]
jmp 0x40ac0f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b294
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b10c
mov eax, dword [0x4520bc]
cmp byte [eax], 0
je 0x40b310
mov eax, dword [0x451ee0]
call fcn.00402acc
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082d8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b358
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b346
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404fc8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bbac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bc82
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc6c
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bc4f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc94
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bc4f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc6c
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc89
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40c100
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c164
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c16b
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a328
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a3a4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45146c
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a300
lea eax, [esi + 5]
call fcn.0041a320
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a320
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a379
mov dword [0x453880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b5b8
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 0x41b5be
ret
Function at 0x41da00
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 0x41da51
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41da38
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41da28
jmp 0x41da51
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 0x41da39
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429cd0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x429c1c
call sub.user32.dll_EnumWindows
ret

Function at 0x429df0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x429e6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429850
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x429e15
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429450
cmp dword [ebp - 4], 0
je 0x429e57
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e74
lea eax, [ebp - 4]
call fcn.00403f5c
ret

Function at 0x42ccc0
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 - 9]
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
cmp dword [0x453b54], 0
je 0x42ce0f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452060]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ce0f
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42cdde
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.00413864
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42cdd6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42cdd6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42cdd6
mov eax, dword [ebp - 0x14]
call fcn.0043593c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42cdd6
push ebp
call fcn.0042cc7c
pop ecx
test al, al
jne 0x42cdd6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42cd92
mov eax, dword [ebp - 0x14]
call fcn.0043446c
dec eax
jle 0x42cdd6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403420
cmp byte [ebp - 1], 0
je 0x42cdd6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42cdd6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042c448
inc edi
dec ebx
jne 0x42cd25
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42cdf6
mov eax, dword [0x453b58]
call fcn.0042c4d8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ce0f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042cae4
pop ecx
test al, al
jne 0x42ce0f
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 0x4303d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x430420
mov eax, esi
call fcn.00445a9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430420
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430420
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43055f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430460
cmp eax, 0x108
ja 0x430460
mov eax, esi
call fcn.00445a9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430556
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43055f
jmp 0x430556
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43053f
cmp eax, 0x20a
ja 0x43053f
test byte [esi + 0x50], 0x80
jne 0x430492
sub eax, 0x203
je 0x43048f
sub eax, 3
je 0x43048f
sub eax, 3
jne 0x430492
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4304a6
dec eax
je 0x4304bb
dec eax
je 0x4304d8
dec eax
je 0x4304bb
jmp 0x4304df
mov ecx, ebx
mov eax, dword [0x452060]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f248
jmp 0x430556
cmp byte [esi + 0x5d], 1
jne 0x4304d1
mov eax, esi
mov si, 0xffed
call fcn.00403420
jmp 0x43055f
or word [esi + 0x54], 1
jmp 0x430556
and word [esi + 0x54], 0xfffe
jmp 0x430556
mov eax, dword [0x453b10]
cmp byte [eax + 0x20], 0
je 0x430556
mov eax, dword [0x453b10]
cmp dword [eax + 0x1c], 0
je 0x430556
mov eax, dword [ebx]
mov edx, dword [0x453b10]
cmp eax, dword [edx + 0x1c]
jne 0x430556
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004459e0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403420
jmp 0x43055f
cmp eax, 0xb00b
jne 0x430556
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042ed10
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret