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

Disassembly:
push 0x24
mov eax, 0x10171f2e
call fcn.1014632c
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.10012231
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x100267e8
call fcn.10012231
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 0x100267fc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x100267f8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x10026804
or eax, 0xffffffff
jmp 0x10026956
mov ecx, edi
call fcn.10026d93
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.10019e33
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x10026890
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x10026890
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10026890
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.1000c666
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1002688d
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1018098c]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x1002688d
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.100201a0
test eax, eax
je 0x1002688d
push 0
mov ecx, esi
call fcn.1001ff73
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.10019b00
push ebx
call fcn.1001b133
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1002672c
test eax, eax
jne 0x100268d9
cmp dword [edi + 0x9c], eax
jne 0x100268d9
call fcn.10012231
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1001b133
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1002672c
and dword [edi + 0x9c], 0
jmp 0x10026904
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x10026918
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.1001ff73
test esi, esi
je 0x10026925
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x1002693b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x1002693b
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1018098c]
mov ecx, edi
call esi
mov ecx, edi
call fcn.10026d4a
mov eax, dword [edi + 0x68]
call fcn.10146291
ret
Function at 0x10028656
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 0x100286ac
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10028685
call fcn.10018442
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1002869a
call fcn.10018442
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100286ac
call fcn.10018442
call fcn.10012231
cmp dword [eax + 0x3c], 0
je 0x100286c1
push esi
mov ecx, ebx
call fcn.10027d7c
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.100288ab
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100286ea
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100286f6
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 0x1002ae38
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.1002001b
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 0x1002ae74
call fcn.1002b055
mov dword [esi + 0xc], 1
jmp 0x1002ae79
call fcn.1002b055
cmp dword [esi], 0
je 0x1002aec4
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 0x1002ae9f
push edi
call fcn.10012e6e
lea ecx, [edi + 1]
push ecx
jmp 0x1002aeae
push 0xff
call fcn.1000d48c
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000fb1c
pop edi
jmp 0x1002aee8
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 0x1002aee8
push dword [esi]
push dword [ebp - 4]
call fcn.10014815
pop esi
leave
ret 0xc

Function at 0x1002afac
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.1002b055
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1002aff4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10012e6e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000fb1c
jmp 0x1002afff
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10014815
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1002d920
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1002da66
mov ecx, 0x10245368
call fcn.10011ba5
mov esi, eax
test esi, esi
je 0x1002da5b
xor eax, eax
cmp word [esi + 8], ax
jne 0x1002da25
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x1002d9e1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x1002d9a7
push str.MS_UI_Gothic
call fcn.1002daa4
pop ecx
test eax, eax
je 0x1002d9a7
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 0x1002d9c2
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 0x1002d9e1
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 0x1002d9e7
push ebx
push edi
push eax
call fcn.1002d152
add esp, 0xc
jmp 0x1002d9e7
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.10011657
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 0x1002da60
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.1001257f
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x1002da28
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x1002da36
push edi
call fcn.1014dd00
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.1000da65
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.1001131c
call fcn.10011336
int3
Function at 0x1003cd0c
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x101730e2
call fcn.101462f6
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 0x1003ce9d
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x1003ce6f
sub eax, 1
je 0x1003cd8b
sub eax, 1
je 0x1003cd63
sub eax, 1
je 0x1003cd8b
push 0x101b22fc
mov ecx, edi
call fcn.1000bedb
mov eax, edi
call fcn.101462a5
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 0x1003cd4d
lea eax, [ebp - 0x28c]
push eax
jmp 0x1003cd52
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x1003cd4d
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.100245c3
test eax, eax
je 0x1003cd4d
lea ecx, [ebp - 0x3a0]
call fcn.1000bf85
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x1003ce25
test byte [ebp - 0x21c], 0x18
jne 0x1003ce47
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 [0x1018098c]
mov ecx, ebx
call esi
jmp 0x1003ce47
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 [0x1018098c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.1000c954
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.1000d8ce
jmp 0x1003cd59
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 0x1003cd4d
lea eax, [ebp - 0x390]
jmp 0x1003cd88
call fcn.1001131c
int3

Function at 0x1003d015
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1008cc1f
call fcn.10012285
cmp dword [eax + 0x14], 0
jne 0x1003d030
mov ecx, esi
pop esi
jmp fcn.1003c319
pop esi
ret

Function at 0x1003d9ab
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x10245e80]
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 0x1003da15
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 0x1003d9fa
lea eax, [ebp - 0x158]
push eax
jmp 0x1003d9ff
push 0x10189308
call fcn.1000bedb
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10146283
leave
ret 8
call fcn.1001131c
int3
Function at 0x1003defa
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.100069f0
call fcn.10012285
cmp dword [eax + 0x14], 0
jne 0x1003df15
mov ecx, esi
pop esi
jmp fcn.1003d755
pop esi
ret
Function at 0x10046e5c
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 0x10046e75
call fcn.10012231
mov esi, dword [eax + 0xc]
push 0x1018a870
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10046eb7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10046eb7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10046eb7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10046ec0
jmp 0x10046eb9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1006ee05
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 0x1006ef8c
je 0x1006efb3
sub eax, 0xa1
je 0x1006efb3
sub eax, 1
je 0x1006efb3
dec eax
sub eax, 1
je 0x1006efb3
sub eax, 1
je 0x1006efb3
dec eax
sub eax, 1
je 0x1006efb3
sub eax, 1
je 0x1006efb3
sub eax, 0x58
jne 0x1006eff1
cmp dword [edi + 0xc0], 0xffffffff
je 0x1006efb3
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1006efb3
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x1006eee1
sub eax, 1
jne 0x1006efb3
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x1006eed0
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 [0x1018098c]
mov ecx, edi
call esi
test eax, eax
jne 0x1006ef2d
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x1006eea6
jmp 0x1006f00b
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x1006f00b
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 [0x1018098c]
mov ecx, edi
call esi
test eax, eax
jne 0x1006ef2d
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x1006eef8
jmp 0x1006f00b
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1018098c]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1018098c]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10020329
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1018098c]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x1006f00b
sub eax, 0x200
je 0x1006efb3
sub eax, 1
je 0x1006efb3
sub eax, 1
je 0x1006efb3
dec eax
sub eax, 1
je 0x1006efb3
sub eax, 1
je 0x1006efb3
dec eax
sub eax, 1
je 0x1006efb3
sub eax, 1
jne 0x1006eff1
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1006efd2
cmp dword [eax + 0x20], ebx
je 0x1006efd2
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 0x1006eff1
cmp dword [eax + 0x20], ebx
je 0x1006eff1
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x1006f010
lea eax, [edi + 0x2250]
test eax, eax
je 0x1006f007
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x1006f010
xor eax, eax
inc eax
jmp 0x1006f018
push esi
mov ecx, edi
call fcn.10066def
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1008d2b4
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10245e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x1008d2e0
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1008d30b
cmp dword [0x1024ca8c], 0
jne 0x1008d30b
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x1008d307
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1008d307
push edi
call fcn.1015a2b2
pop ecx
jmp 0x1008d380
mov eax, edi
jmp 0x1008d380
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 0x1008d38f
push esi
call fcn.1000ed31
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.10146283
leave
ret 4
call fcn.1001131c
int3
Function at 0x100a9df7
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 0x100a9f55
push esi
push edi
push 0x101947e4
call fcn.10012d5c
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x100a9e90
mov edi, dword [ebx + 0x168]
jmp 0x100a9e7c
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 0x100a9e7c
push esi
call fcn.1001b133
push eax
push 0x10245700
call fcn.10012cbd
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x100a9e7c
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x1018098c]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x100a9e7c
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x100a9e2b
lea ecx, [ebx + 0x164]
call fcn.10021ace
jmp 0x100a9f53
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100a9f53
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10013842
mov edi, dword [eax]
test edi, edi
jne 0x100a9ebc
xor esi, esi
jmp 0x100a9ebf
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 0x100a9f43
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100a9f43
cmp dword [ebp - 0x10], 0
jne 0x100a9f18
push edi
push 0x10245700
call fcn.10012cbd
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x1018098c]
mov ecx, edi
call esi
push eax
push 0x1018b744
call fcn.10012cbd
pop ecx
pop ecx
test eax, eax
je 0x100a9f43
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.100a8f68
test eax, eax
jne 0x100a9f43
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.100a709e
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x100a9ea7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100e336f
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 0x100e339c
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100e33b1
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e33b1
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.1001b133
jmp 0x100e3482
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1001b133
cmp eax, edi
jne 0x100e348c
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 0x100e341e
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 0x100e3462
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100e348c
cmp eax, 0x205
je 0x100e348c
cmp eax, 0x201
je 0x100e348c
cmp eax, 0x204
je 0x100e348c
cmp eax, 0x100
jne 0x100e344a
cmp dword [ebp - 0x18], 0x1b
je 0x100e348c
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 0x100e3482
ja 0x100e347b
cmp eax, dword [0x1024dee8]
jbe 0x100e3482
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100e33d3
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100e3864
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100e389a
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.1000c666
test eax, eax
je 0x100e3882
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 0x100ea0f2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x102455f4], 0
push esi
push edi
je 0x100ea17a
cmp dword [0x10245930], 0xfffffffe
jne 0x100ea166
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100ea17a
mov edi, 0x1024df14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1024df2c], 0
jne 0x100ea17e
push 0
push 0
push 0x100ea184
call fcn.101523a6
add esp, 0xc
mov dword [0x1024df2c], eax
test eax, eax
je 0x100ea156
cmp eax, 0xffffffff
je 0x100ea156
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x10245930], esi
jmp 0x100ea15d
and dword [0x1024df2c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100ea17a
mov eax, dword [ebp + 8]
mov dword [0x10245930], eax
cmp eax, 0xffffffff
jne 0x100ea17a
and dword [0x1024df2c], 0
pop edi
pop esi
pop ebp
ret
call fcn.1001131c
int3
Function at 0x100f3741
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x100f37e0
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x100f37dc
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100f37dc
cmp dword [ebx], eax
jne 0x100f37dc
mov eax, dword [ebx + 4]
sub eax, 1
je 0x100f37b6
sub eax, 1
je 0x100f3786
sub eax, 1
jne 0x100f37dc
mov edi, 0x428e
jmp 0x100f37bb
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100f37bb
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x1018098c]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x100f37bb
add edi, 3
jmp 0x100f37bb
mov edi, 0x3ea0
push edi
mov ecx, 0x1024df70
call fcn.1000d204
test eax, eax
je 0x100f37e0
mov eax, dword [0x1024df70]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x100f37d5
call fcn.1001131c
int3

Function at 0x100fd6da
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1015a2e2
pop ecx
test eax, eax
jne 0x100fd71c
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1000fd4d
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100fd6e2
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x100fd941
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100fd98e
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.1014dd00
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x100fd985
mov edx, ecx
movsx ecx, byte [esi + edi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x100fd973
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.1001131c
int3