joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001dbb9
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 0x1001dc01
call fcn.1000c185
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 0x1001dc01
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001dc0e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x1001dc4a
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x1001dc2d
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x1001dc36
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x1001dc48
test di, di
jne 0x1001dc48
test dx, dx
je 0x1001dc4a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001dc4f
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 0x1001dc7a
cmp dword [esi + 0x80], 0
jne 0x1001dc7a
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.1000c185
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001dcaa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001dcaa
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.1001df11
jmp 0x1001dcac
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001dcb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.1000c185
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001dcf3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001dcf3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.1001dcfb
jmp 0x1001dcf5
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x1001dfe6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x1016c939
call fcn.10140128
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.1000c185
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x1001e045
call fcn.1000c185
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 0x1001e059
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x1001e055
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x1001e061
or eax, 0xffffffff
jmp 0x1001e1b3
mov ecx, edi
call fcn.1001e5f0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1000dab5
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x1001e0ed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x1001e0ed
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001e0ed
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.10005ec0
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1001e0ea
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x1001e0ea
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.10013fbf
test eax, eax
je 0x1001e0ea
push 0
mov ecx, esi
call fcn.10013d92
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.1000d782
push ebx
call fcn.1000eeb0
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1001df89
test eax, eax
jne 0x1001e136
cmp dword [edi + 0x9c], eax
jne 0x1001e136
call fcn.1000c185
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1000eeb0
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1001df89
and dword [edi + 0x9c], 0
jmp 0x1001e161
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x1001e175
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.10013d92
test esi, esi
je 0x1001e182
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x1001e198
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x1001e198
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, edi
call esi
mov ecx, edi
call fcn.1001e5a7
mov eax, dword [edi + 0x68]
call fcn.1014008d
ret
Function at 0x1001feb3
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 0x1001ff09
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1001fee2
call fcn.10019788
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1001fef7
call fcn.10019788
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1001ff09
call fcn.10019788
call fcn.1000c185
cmp dword [eax + 0x3c], 0
je 0x1001ff1e
push esi
mov ecx, ebx
call fcn.1001f5d9
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.10020108
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001ff47
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001ff53
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 0x10021f85
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10355e80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.10143750
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.1014d293
push eax
call fcn.10006f0a
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x1017ec54]
je 0x100220e3
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x100220f7
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100220f7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x10022041
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10022035
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.10021d36
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x1002203c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10022043
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10022235
test eax, eax
je 0x1002206a
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.10021bbd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1002206e
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10022235
test eax, eax
je 0x10022095
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.10021bbd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10022099
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10022235
test eax, eax
je 0x100220c1
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.10021bbd
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x100220c3
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x100220d5
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x100220e3
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014007f
leave
ret 4
xor eax, eax
jmp 0x100220e6
Function at 0x100251f4
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.10013e3a
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 0x10025230
call fcn.10025411
mov dword [esi + 0xc], 1
jmp 0x10025235
call fcn.10025411
cmp dword [esi], 0
je 0x10025280
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 0x1002525b
push edi
call fcn.1000eefe
lea ecx, [edi + 1]
push ecx
jmp 0x1002526a
push 0xff
call fcn.10007d09
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000925a
pop edi
jmp 0x100252a4
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 0x100252a4
push dword [esi]
push dword [ebp - 4]
call fcn.10015b6b
pop esi
leave
ret 0xc

Function at 0x10025368
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.10025411
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100253b0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000eefe
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000925a
jmp 0x100253bb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10015b6b
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1002692a
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10026a70
mov ecx, 0x10355344
call fcn.1000baf9
mov esi, eax
test esi, esi
je 0x10026a65
xor eax, eax
cmp word [esi + 8], ax
jne 0x10026a2f
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x100269eb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x100269b1
push str.MS_UI_Gothic
call fcn.10026aae
pop ecx
test eax, eax
je 0x100269b1
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 0x100269cc
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 0x100269eb
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 0x100269f1
push ebx
push edi
push eax
call fcn.1002613a
add esp, 0xc
jmp 0x100269f1
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.1000b5ab
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 0x10026a6a
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.1000c4d3
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x10026a32
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x10026a40
push edi
call fcn.1014cf80
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.100082e2
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.1000aa7a
call fcn.1000aa94
int3
Function at 0x10036c10
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x1016dcc5
call fcn.101400f2
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 0x10036da1
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x10036d73
sub eax, 1
je 0x10036c8f
sub eax, 1
je 0x10036c67
sub eax, 1
je 0x10036c8f
push 0x101abeca
mov ecx, edi
call fcn.100067ec
mov eax, edi
call fcn.101400a1
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 0x10036c51
lea eax, [ebp - 0x28c]
push eax
jmp 0x10036c56
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x10036c51
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.100220fb
test eax, eax
je 0x10036c51
lea ecx, [ebp - 0x3a0]
call fcn.10006896
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10036d29
test byte [ebp - 0x21c], 0x18
jne 0x10036d4b
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 [0x1017a9bc]
mov ecx, ebx
call esi
jmp 0x10036d4b
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 [0x1017a9bc]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.100071fd
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.1000814b
jmp 0x10036c5d
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 0x10036c51
lea eax, [ebp - 0x390]
jmp 0x10036c8c
call fcn.1000aa7a
int3

Function at 0x10036f19
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10086b2c
call fcn.1000c1d9
cmp dword [eax + 0x14], 0
jne 0x10036f34
mov ecx, esi
pop esi
jmp fcn.1003621d
pop esi
ret

Function at 0x100378af
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x10355e80]
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 0x10037919
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 0x100378fe
lea eax, [ebp - 0x158]
push eax
jmp 0x10037903
push 0x10183320
call fcn.100067ec
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1014007f
leave
ret 8
call fcn.1000aa7a
int3
Function at 0x10037dfe
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.100036b6
call fcn.1000c1d9
cmp dword [eax + 0x14], 0
jne 0x10037e19
mov ecx, esi
pop esi
jmp fcn.10037659
pop esi
ret
Function at 0x10040d66
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 0x10040d7f
call fcn.1000c185
mov esi, dword [eax + 0xc]
push 0x10184888
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10040dc1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10040dc1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10040dc1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10040dca
jmp 0x10040dc3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10068d12
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 0x10068e99
je 0x10068ec0
sub eax, 0xa1
je 0x10068ec0
sub eax, 1
je 0x10068ec0
dec eax
sub eax, 1
je 0x10068ec0
sub eax, 1
je 0x10068ec0
dec eax
sub eax, 1
je 0x10068ec0
sub eax, 1
je 0x10068ec0
sub eax, 0x58
jne 0x10068efe
cmp dword [edi + 0xc0], 0xffffffff
je 0x10068ec0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10068ec0
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x10068dee
sub eax, 1
jne 0x10068ec0
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x10068ddd
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 [0x1017a9bc]
mov ecx, edi
call esi
test eax, eax
jne 0x10068e3a
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x10068db3
jmp 0x10068f18
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x10068f18
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 [0x1017a9bc]
mov ecx, edi
call esi
test eax, eax
jne 0x10068e3a
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x10068e05
jmp 0x10068f18
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10014148
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x10068f18
sub eax, 0x200
je 0x10068ec0
sub eax, 1
je 0x10068ec0
sub eax, 1
je 0x10068ec0
dec eax
sub eax, 1
je 0x10068ec0
sub eax, 1
je 0x10068ec0
dec eax
sub eax, 1
je 0x10068ec0
sub eax, 1
jne 0x10068efe
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x10068edf
cmp dword [eax + 0x20], ebx
je 0x10068edf
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 0x10068efe
cmp dword [eax + 0x20], ebx
je 0x10068efe
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x10068f1d
lea eax, [edi + 0x2250]
test eax, eax
je 0x10068f14
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x10068f1d
xor eax, eax
inc eax
jmp 0x10068f25
push esi
mov ecx, edi
call fcn.10060cfc
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100871bf
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10355e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x100871eb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10087216
cmp dword [0x1035c954], 0
jne 0x10087216
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x10087212
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x10087212
push edi
call fcn.10155102
pop ecx
jmp 0x1008728b
mov eax, edi
jmp 0x1008728b
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 0x1008729a
push esi
call fcn.10005ee6
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.1014007f
leave
ret 4
call fcn.1000aa7a
int3
Function at 0x100a3d08
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 0x100a3e66
push esi
push edi
push 0x1018e7fc
call fcn.1000cc96
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x100a3da1
mov edi, dword [ebx + 0x168]
jmp 0x100a3d8d
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 0x100a3d8d
push esi
call fcn.1000eeb0
push eax
push 0x103556f8
call fcn.1000cbf7
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x100a3d8d
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x100a3d8d
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x100a3d3c
lea ecx, [ebx + 0x164]
call fcn.1001b9cd
jmp 0x100a3e64
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100a3e64
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1000f12e
mov edi, dword [eax]
test edi, edi
jne 0x100a3dcd
xor esi, esi
jmp 0x100a3dd0
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 0x100a3e54
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100a3e54
cmp dword [ebp - 0x10], 0
jne 0x100a3e29
push edi
push 0x103556f8
call fcn.1000cbf7
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x1017a9bc]
mov ecx, edi
call esi
push eax
push 0x1018575c
call fcn.1000cbf7
pop ecx
pop ecx
test eax, eax
je 0x100a3e54
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.100a2e79
test eax, eax
jne 0x100a3e54
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.100a0faf
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x100a3db8
pop edi
pop esi
pop ebx
leave
ret 4