joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100200b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x101d57c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10020115
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x10020115
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1002012b
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [edi + 8]
imul esi, dword [edi + 4]
add esi, esi
add esi, esi
cmp word [edi + 0xe], 0x20
mov dword [esp + 0x20], 0
jne 0x10020228
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [esi + 0x28]
cmp eax, edx
jb 0x10020228
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
push 0x34
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100201ba
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10016140
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x28
push edi
push 0x28
push ebx
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push ebx
mov dword [ebx + 0x14], esi
push ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
test ebp, ebp
je 0x10020209
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10020209
push esi
add edi, 0x28
push edi
push esi
push eax
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov dword [esp + 0x20], ebp
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10016140
mov ebp, dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x100228d0
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x101f0d98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
mov dword [esp + 0x34], ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10022935
lea ecx, [esp + 0xc]
push ecx
call fcn.100240f0
cmp al, bl
jne 0x1002295b
mov dword [edi], 1
mov esi, dword [esi + 0x18]
mov dword [esi + 0x20], 1
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x1002297f
mov edx, dword [esp + 0x10]
push edx
jmp 0x10022977
mov dword [edi], ebx
mov esi, dword [esi + 0x18]
mov dword [esi + 0x20], ebx
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x1002297f
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov word [esp + 0x10], bx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 7
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x2c
ret
Function at 0x10022e80
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x101f0d68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
and al, 1
je 0x10022f65
xor ebx, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x40], ebx
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x10022f38
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101d19a9
mov edi, eax
lea eax, [esi + esi]
push eax
push ebx
push edi
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 4]
add esp, 0x10
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebp
mov ecx, edi
call fcn.10024680
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x10022f54
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push ecx
mov ecx, ebp
call edx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.101d19cc
add esp, 0x30
ret 4
Function at 0x10023060
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x101f0d98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
xor ebx, ebx
push ebx
mov ecx, esi
call edx
movzx eax, word [esp + 0x3c]
add eax, 0xffff6345
cmp eax, 6
ja case.default.0x100230af
jmp dword [eax*4 + 0x100231cc]
mov byte [esi + 0x35], 1
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
mov dword [esp + 0x34], ebx
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100230ee
lea ecx, [esp + 0xc]
push ecx
call fcn.100240f0
cmp al, bl
jne 0x10023107
mov byte [esi + 0x35], bl
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10001dd0
jmp case.default.0x100230af
push esi
lea ecx, [esp + 0x10]
call fcn.10024160
test al, al
je 0x1002311c
mov eax, edi
call fcn.10024bb0
mov edx, dword [esi]
mov eax, dword [edi]
mov edx, dword [edx + 0x2c]
push ebx
push ebx
push ebx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 1
mov ecx, esi
call edx
jmp 0x100230f1
mov eax, dword [esi + 4]
push ebx
push ebx
push 0xc7
push eax
jmp 0x100231a2
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x300
push ecx
jmp 0x100231a2
push ebx
push ebx
push 0x301
jmp 0x1002319e
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 4]
push ebx
push ebx
push 0x302
push eax
jmp 0x100231a2
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x303
push ecx
jmp 0x100231a2
push 0xffffffffffffffff
push ebx
push 0xb1
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x2c
ret 4
Function at 0x100230b6
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x101f0d98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
xor ebx, ebx
push ebx
mov ecx, esi
call edx
movzx eax, word [esp + 0x3c]
add eax, 0xffff6345
cmp eax, 6
ja case.default.0x100230af
jmp dword [eax*4 + 0x100231cc]
mov byte [esi + 0x35], 1
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
mov dword [esp + 0x34], ebx
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100230ee
lea ecx, [esp + 0xc]
push ecx
call fcn.100240f0
cmp al, bl
jne 0x10023107
mov byte [esi + 0x35], bl
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10001dd0
jmp case.default.0x100230af
push esi
lea ecx, [esp + 0x10]
call fcn.10024160
test al, al
je 0x1002311c
mov eax, edi
call fcn.10024bb0
mov edx, dword [esi]
mov eax, dword [edi]
mov edx, dword [edx + 0x2c]
push ebx
push ebx
push ebx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 1
mov ecx, esi
call edx
jmp 0x100230f1
mov eax, dword [esi + 4]
push ebx
push ebx
push 0xc7
push eax
jmp 0x100231a2
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x300
push ecx
jmp 0x100231a2
push ebx
push ebx
push 0x301
jmp 0x1002319e
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 4]
push ebx
push ebx
push 0x302
push eax
jmp 0x100231a2
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x303
push ecx
jmp 0x100231a2
push 0xffffffffffffffff
push ebx
push 0xb1
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x2c
ret 4
Function at 0x100231f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x101f0d31
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [ebp + 4], edi
mov dword [esp + 0x14], ebx
je 0x10023322
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
mov dword [esp + 0x40], 1
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, edi
jle 0x100232d5
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101d19a9
mov edi, eax
lea eax, [esi + esi]
push eax
push 0
push edi
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 4]
add esp, 0x10
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jg 0x100232ca
mov word [edi + eax*2], 0
mov eax, edi
lea edx, [eax + 2]
jmp 0x100232b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100232b0
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x20]
call fcn.10007a00
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor edi, edi
push 0xffffffffffffffff
mov esi, 7
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], edi
push edi
lea eax, [esp + 0x20]
mov ecx, ebx
mov word [ebx + 4], di
call fcn.10007880
mov dword [esp + 0x10], 1
mov byte [esp + 0x40], 0
cmp dword [esp + 0x30], 8
jb 0x10023313
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jmp 0x1002333c
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], edi
mov word [ebx + 4], di
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], 1
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101d19cc
add esp, 0x34
ret 4
Function at 0x10023ed0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push 0xffffffffffffffff
push 0x101e5ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebx, ecx
test bl, 0x18
mov eax, dword [esp + 0x54]
mov esi, edx
mov edi, dword [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
je 0x10023f2f
test ebx, 0x800
jne 0x10023f3b
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
test ebx, 0x800
je 0x100240b2
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
test al, al
je 0x100240b2
push edi
call sub.IMM32.dll_ImmGetContext
mov edi, eax
test edi, edi
je 0x100240b2
cmp edi, 0xffffffff
je 0x100240b2
push 0
push 0
push 0x800
push edi
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100240a7
cmp ebp, 0xfffffffe
je 0x100240a7
test ebp, ebp
je 0x100240a7
cmp ebp, 0x10000
ja 0x100240a7
lea ebx, [ebp + 2]
push ebx
call fcn.101d19a9
mov esi, eax
add esp, 4
test esi, esi
jne 0x10023fc2
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call sub.IMM32.dll_ImmReleaseContext
mov esi, dword [esp + 0x18]
jmp 0x100240b2
push ebx
push esi
push 0x800
push edi
call sub.IMM32.dll_ImmGetCompositionStringW
cmp eax, 0xffffffff
je 0x1002408d
cmp eax, 0xfffffffe
je 0x1002408d
test eax, eax
je 0x1002408d
cmp eax, ebp
jne 0x1002408d
mov edx, dword [esp + 0x1c]
push edi
push edx
mov word [eax + esi], 0
call sub.IMM32.dll_ImmReleaseContext
test eax, eax
jne 0x10024018
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x100240b2
mov edx, esi
lea eax, [esp + 0x24]
call fcn.10007690
mov dword [esp + 0x4c], 0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
add esp, 4
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x28]
mov ebx, 1
push edx
mov ecx, esi
mov byte [esp + 0x1f], bl
call eax
cmp byte [esp + 0x17], 0
jne 0x1002406e
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10001dd0
jmp 0x100240b2
mov ecx, dword [esp + 0x20]
mov dword [ecx], ebx
mov esi, dword [esi + 0x18]
mov dword [esi + 0x20], ebx
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10001dd0
jmp 0x100240c6
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x20]
add esp, 4
push edi
push edx
call sub.IMM32.dll_ImmReleaseContext
mov esi, dword [esp + 0x18]
jmp 0x100240b2
mov eax, dword [esp + 0x1c]
push edi
push eax
call sub.IMM32.dll_ImmReleaseContext
mov ecx, dword [esp + 0x20]
mov dword [ecx], 0
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], 0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x3c
ret 4
Function at 0x100240f0
Capabilities:
Read clipboard data

Disassembly:
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x10024107
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
ret 4
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x10024122
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
pop edi
ret 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10024130
sub ecx, esi
mov esi, dword [esp + 0xc]
sar ecx, 1
push ecx
push eax
call fcn.10007a00
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, 1
pop edi
ret 4
Function at 0x10026f10
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x114], eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10026f6f
cmp dword [esp + 4], 6
jb 0x10026f6f
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.101d19cc
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.101d19cc
add esp, 0x118
ret

Function at 0x100279c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d5662
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 6
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov dword [esp + 0x3c], esi
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.100131b0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x10]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
push ecx
call fcn.10013210
mov eax, dword [edi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x30], 0xffffffff
cmp esi, ebx
je 0x10027a7c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10027a7c
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x38]
mov dword [ecx], ebx
mov byte [edi + 0x30], 1
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x10027aa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101d5632
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [esp + 0x20]
call fcn.10028c60
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x6c], ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.100131b0
mov byte [esp + 0x6c], 1
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.USER32.dll_FillRect]
push esi
lea eax, [esp + 0x44]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x18]
push esi
lea edx, [esp + 0x34]
push edx
push eax
call ebp
mov edx, dword [edi + 4]
lea ecx, [esp + 0x50]
push ecx
push ebx
push 0x100e
push edx
mov dword [esp + 0x60], 1
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [esp + 0x74]
cmp eax, 0x64
jge 0x10027b9c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
push esi
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x34], eax
call ebp
mov ecx, dword [edi + 4]
push 1
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10027bae
mov byte [edi + 0x30], 1
mov byte [esp + 0x6c], bl
lea eax, [esp + 0x18]
push eax
call fcn.10013210
mov dword [esp + 0x6c], 0xffffffff
cmp esi, ebx
je 0x10027bd7
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10027bd7
mov dword [esp + 0x14], ebx
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
Function at 0x100282c0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x101f0b20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
push 0x11
shr eax, 7
and al, 1
mov byte [esp + 0x3c], al
call esi
movzx ebx, ax
shr ebx, 7
push 0x12
and bl, 1
call esi
shr eax, 7
and al, 1
cmp edi, 0x2e
jne 0x10028381
xor esi, esi
cmp dword [ebp + 0x3c], esi
je 0x10028472
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
push ebp
lea edi, [esp + 0x1c]
call fcn.10027730
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
mov edx, edi
push edx
call eax
mov ecx, dword [esp + 0x3c]
mov dword [ecx], 1
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10028370
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jmp 0x10028478
cmp edi, 0x71
jne 0x10028419
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 1
push ebp
lea edi, [esp + 0x1c]
call fcn.10027730
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x100283f2
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
je 0x100283f2
cmp eax, esi
ja 0x100283cb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x3c]
cmp ecx, esi
mov dword [ebp + 0x44], edx
je 0x100283de
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 4]
push esi
push eax
push 0x1076
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1002840b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jmp 0x10028470
test bl, bl
je 0x10028470
cmp byte [esp + 0x38], 0
jne 0x10028470
test al, al
jne 0x10028470
cmp edi, 0x41
jne 0x10028470
mov edx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
lea edi, [ebp + 4]
push 0x1004
push edx
call ebx
test eax, eax
jle 0x10028470
lea esp, [esp]
push 2
push 2
push esi
push edi
call fcn.100290b0
mov eax, dword [edi]
push 0
push 0
push 0x1004
push eax
add esi, 1
call ebx
cmp esi, eax
jl 0x10028450
xor esi, esi
mov ecx, dword [esp + 0x3c]
mov dword [ecx], esi
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8