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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x10026eac
call fcn.10012d8e
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10026eac
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10026eb9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x10026ef5
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x10026ed8
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x10026ee1
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x10026ef3
test di, di
jne 0x10026ef3
test dx, dx
je 0x10026ef5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10026efa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x10026f25
cmp dword [esi + 0x80], 0
jne 0x10026f25
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.10012d8e
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10026f55
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10026f55
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.100271bc
jmp 0x10026f57
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10026f5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.10012d8e
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10026f9e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10026f9e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.10026fa6
jmp 0x10026fa0
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x10027291
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x10175ff8
call fcn.1014702b
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.10012d8e
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x100272f0
call fcn.10012d8e
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10027304
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x10027300
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x1002730c
or eax, 0xffffffff
jmp 0x1002745e
mov ecx, edi
call fcn.1002789b
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1001a993
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x10027398
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x10027398
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10027398
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.1000d20f
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x10027395
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x101849c8]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x10027395
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.10020cb1
test eax, eax
je 0x10027395
push 0
mov ecx, esi
call fcn.10020a84
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.1001a660
push ebx
call fcn.1001bc93
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.10027234
test eax, eax
jne 0x100273e1
cmp dword [edi + 0x9c], eax
jne 0x100273e1
call fcn.10012d8e
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1001bc93
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.10027234
and dword [edi + 0x9c], 0
jmp 0x1002740c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x10027420
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.10020a84
test esi, esi
je 0x1002742d
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x10027443
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x10027443
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
mov ecx, edi
call fcn.10027852
mov eax, dword [edi + 0x68]
call fcn.10146f90
ret
Function at 0x1002915e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x100291b4
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1002918d
call fcn.10018fa2
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x100291a2
call fcn.10018fa2
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100291b4
call fcn.10018fa2
call fcn.10012d8e
cmp dword [eax + 0x3c], 0
je 0x100291c9
push esi
mov ecx, ebx
call fcn.10028884
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.100293b3
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100291f2
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100291fe
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1002b940
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10020b2c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1002b97c
call fcn.1002bb5d
mov dword [esi + 0xc], 1
jmp 0x1002b981
call fcn.1002bb5d
cmp dword [esi], 0
je 0x1002b9cc
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x1002b9a7
push edi
call fcn.100139cb
lea ecx, [edi + 1]
push ecx
jmp 0x1002b9b6
push 0xff
call fcn.1000e035
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10010695
pop edi
jmp 0x1002b9f0
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1002b9f0
push dword [esi]
push dword [ebp - 4]
call fcn.10015372
pop esi
leave
ret 0xc

Function at 0x1002bab4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1002bb5d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1002bafc
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100139cb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10010695
jmp 0x1002bb07
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10015372
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1002e428
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1002e56e
mov ecx, 0x10361368
call fcn.10012702
mov esi, eax
test esi, esi
je 0x1002e563
xor eax, eax
cmp word [esi + 8], ax
jne 0x1002e52d
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x1002e4e9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x1002e4af
push str.MS_UI_Gothic
call fcn.1002e5ac
pop ecx
test eax, eax
je 0x1002e4af
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x1002e4ca
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002e4e9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1002e4ef
push ebx
push edi
push eax
call fcn.1002dc5a
add esp, 0xc
jmp 0x1002e4ef
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 1
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.100121b4
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x1002e568
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.100130dc
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x1002e530
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x1002e53e
push edi
call fcn.10155060
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.1000e60e
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.10011e79
call fcn.10011e93
int3
Function at 0x1003d817
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x101771ac
call fcn.10146ff5
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x1003d9a8
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x1003d97a
sub eax, 1
je 0x1003d896
sub eax, 1
je 0x1003d86e
sub eax, 1
je 0x1003d896
push 0x101b6578
mov ecx, edi
call fcn.1000ca84
mov eax, edi
call fcn.10146fa4
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x1003d858
lea eax, [ebp - 0x28c]
push eax
jmp 0x1003d85d
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x1003d858
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.100250cb
test eax, eax
je 0x1003d858
lea ecx, [ebp - 0x3a0]
call fcn.1000cb2e
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x1003d930
test byte [ebp - 0x21c], 0x18
jne 0x1003d952
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x101849c8]
mov ecx, ebx
call esi
jmp 0x1003d952
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x101849c8]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.1000d4fd
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.1000e477
jmp 0x1003d864
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x1003d858
lea eax, [ebp - 0x390]
jmp 0x1003d893
call fcn.10011e79
int3

Function at 0x1003db20
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1008d73a
call fcn.10012de2
cmp dword [eax + 0x14], 0
jne 0x1003db3b
mov ecx, esi
pop esi
jmp fcn.1003ce24
pop esi
ret

Function at 0x1003e4b6
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x10361e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x168], esi
test eax, eax
je 0x1003e520
push 0x208
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, esi
test eax, eax
je 0x1003e505
lea eax, [ebp - 0x158]
push eax
jmp 0x1003e50a
push 0x1018d348
call fcn.1000ca84
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101465c2
leave
ret 8
call fcn.10011e79
int3
Function at 0x1003ea05
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.100058a0
call fcn.10012de2
cmp dword [eax + 0x14], 0
jne 0x1003ea20
mov ecx, esi
pop esi
jmp fcn.1003e260
pop esi
ret
Function at 0x10047967
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x10047980
call fcn.10012d8e
mov esi, dword [eax + 0xc]
push 0x1018e8b0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x100479c2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100479c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100479c2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.100479cb
jmp 0x100479c4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1006f91e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x1006faa5
je 0x1006facc
sub eax, 0xa1
je 0x1006facc
sub eax, 1
je 0x1006facc
dec eax
sub eax, 1
je 0x1006facc
sub eax, 1
je 0x1006facc
dec eax
sub eax, 1
je 0x1006facc
sub eax, 1
je 0x1006facc
sub eax, 0x58
jne 0x1006fb0a
cmp dword [edi + 0xc0], 0xffffffff
je 0x1006facc
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1006facc
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x1006f9fa
sub eax, 1
jne 0x1006facc
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x1006f9e9
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
test eax, eax
jne 0x1006fa46
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x1006f9bf
jmp 0x1006fb24
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x1006fb24
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
test eax, eax
jne 0x1006fa46
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x1006fa11
jmp 0x1006fb24
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10020e3a
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x1006fb24
sub eax, 0x200
je 0x1006facc
sub eax, 1
je 0x1006facc
sub eax, 1
je 0x1006facc
dec eax
sub eax, 1
je 0x1006facc
sub eax, 1
je 0x1006facc
dec eax
sub eax, 1
je 0x1006facc
sub eax, 1
jne 0x1006fb0a
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1006faeb
cmp dword [eax + 0x20], ebx
je 0x1006faeb
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x1006fb0a
cmp dword [eax + 0x20], ebx
je 0x1006fb0a
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x1006fb29
lea eax, [edi + 0x2250]
test eax, eax
je 0x1006fb20
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x1006fb29
xor eax, eax
inc eax
jmp 0x1006fb31
push esi
mov ecx, edi
call fcn.10067902
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1008ddcd
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10361e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x1008ddf9
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1008de24
cmp dword [0x10368b94], 0
jne 0x1008de24
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x1008de20
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1008de20
push edi
call fcn.1015d4a2
pop ecx
jmp 0x1008de99
mov eax, edi
jmp 0x1008de99
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1008dea8
push esi
call fcn.1000f8aa
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push esi
push 1
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.101465c2
leave
ret 4
call fcn.10011e79
int3
Function at 0x100aa910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x100aaa6e
push esi
push edi
push 0x10198824
call fcn.100138b9
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x100aa9a9
mov edi, dword [ebx + 0x168]
jmp 0x100aa995
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100aa995
push esi
call fcn.1001bc93
push eax
push 0x10361700
call fcn.1001381a
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x100aa995
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x101849c8]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x100aa995
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x100aa944
lea ecx, [ebx + 0x164]
call fcn.100225d6
jmp 0x100aaa6c
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100aaa6c
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001439f
mov edi, dword [eax]
test edi, edi
jne 0x100aa9d5
xor esi, esi
jmp 0x100aa9d8
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100aaa5c
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100aaa5c
cmp dword [ebp - 0x10], 0
jne 0x100aaa31
push edi
push 0x10361700
call fcn.1001381a
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x101849c8]
mov ecx, edi
call esi
push eax
push 0x1018f784
call fcn.1001381a
pop ecx
pop ecx
test eax, eax
je 0x100aaa5c
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.100a9a81
test eax, eax
jne 0x100aaa5c
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.100a7bb7
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x100aa9c0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100e3e7e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e3eab
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100e3ec0
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e3ec0
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.1001bc93
jmp 0x100e3f91
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1001bc93
cmp eax, edi
jne 0x100e3f9b
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x100e3f2d
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x100e3f71
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100e3f9b
cmp eax, 0x205
je 0x100e3f9b
cmp eax, 0x201
je 0x100e3f9b
cmp eax, 0x204
je 0x100e3f9b
cmp eax, 0x100
jne 0x100e3f59
cmp dword [ebp - 0x18], 0x1b
je 0x100e3f9b
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x100e3f91
ja 0x100e3f8a
cmp eax, dword [0x10369ff0]
jbe 0x100e3f91
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100e3ee2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100e4373
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100e43a9
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.1000d20f
test eax, eax
je 0x100e4391
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100eac01
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x103615f4], 0
push esi
push edi
je 0x100eac89
cmp dword [0x10361930], 0xfffffffe
jne 0x100eac75
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100eac89
mov edi, 0x1036a01c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1036a034], 0
jne 0x100eac8d
push 0
push 0
push 0x100eac93
call fcn.101555a5
add esp, 0xc
mov dword [0x1036a034], eax
test eax, eax
je 0x100eac65
cmp eax, 0xffffffff
je 0x100eac65
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x10361930], esi
jmp 0x100eac6c
and dword [0x1036a034], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100eac89
mov eax, dword [ebp + 8]
mov dword [0x10361930], eax
cmp eax, 0xffffffff
jne 0x100eac89
and dword [0x1036a034], 0
pop edi
pop esi
pop ebp
ret
call fcn.10011e79
int3