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

Disassembly:
push 0x24
mov eax, 0x1015c2ac
call fcn.1013ca8a
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.10008785
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x1001a698
call fcn.10008785
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 0x1001a6ac
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x1001a6a8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x1001a6b4
or eax, 0xffffffff
jmp 0x1001a806
mov ecx, edi
call fcn.1001ac43
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1000a0b8
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x1001a740
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x1001a740
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001a740
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.10002455
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1001a73d
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1016a968]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x1001a73d
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.10010612
test eax, eax
je 0x1001a73d
push 0
mov ecx, esi
call fcn.100103e5
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.10009d85
push ebx
call fcn.1000b4b3
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1001a5dc
test eax, eax
jne 0x1001a789
cmp dword [edi + 0x9c], eax
jne 0x1001a789
call fcn.10008785
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1000b4b3
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1001a5dc
and dword [edi + 0x9c], 0
jmp 0x1001a7b4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x1001a7c8
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.100103e5
test esi, esi
je 0x1001a7d5
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x1001a7eb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x1001a7eb
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1016a968]
mov ecx, edi
call esi
mov ecx, edi
call fcn.1001abfa
mov eax, dword [edi + 0x68]
call fcn.1013c9ef
ret
Function at 0x1001c510
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 0x1001c566
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1001c53f
call fcn.10015dd9
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1001c554
call fcn.10015dd9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1001c566
call fcn.10015dd9
call fcn.10008785
cmp dword [eax + 0x3c], 0
je 0x1001c57b
push esi
mov ecx, ebx
call fcn.1001bc2c
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.1001c765
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001c5a4
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001c5b0
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 0x1001e5e2
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101b5e80]
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.1013de60
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.10145382
push eax
call fcn.100034d2
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x1016ebd4]
je 0x1001e743
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 0x1001e757
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1001e757
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 0x1001e69e
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1001e692
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.1001e393
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x1001e699
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1001e6a0
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001e898
test eax, eax
je 0x1001e6cc
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.1001e21a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x1001e6d1
mov dword [esi], edi
mov dword [esi + 4], edi
lea eax, [ebp - 0x40]
push eax
call fcn.1001e898
test eax, eax
je 0x1001e6f9
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1001e21a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
jmp 0x1001e6ff
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea eax, [ebp - 0x48]
push eax
call fcn.1001e898
test eax, eax
je 0x1001e721
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.1001e21a
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x1001e723
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x1001e735
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x1001e743
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.1013c133
leave
ret 4
xor eax, eax
jmp 0x1001e746
Function at 0x10021856
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.1001048d
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 0x10021892
call fcn.10021a73
mov dword [esi + 0xc], 1
jmp 0x10021897
call fcn.10021a73
cmp dword [esi], 0
je 0x100218e2
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 0x100218bd
push edi
call fcn.1000b501
lea ecx, [edi + 1]
push ecx
jmp 0x100218cc
push 0xff
call fcn.100042d4
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10005852
pop edi
jmp 0x10021906
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 0x10021906
push dword [esi]
push dword [ebp - 4]
call fcn.100121be
pop esi
leave
ret 0xc

Function at 0x100219ca
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.10021a73
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10021a12
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000b501
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10005852
jmp 0x10021a1d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100121be
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10022f8f
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x100230d5
mov ecx, 0x101b5344
call fcn.100080f9
mov esi, eax
test esi, esi
je 0x100230ca
xor eax, eax
cmp word [esi + 8], ax
jne 0x10023094
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x10023050
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x10023016
push str.MS_UI_Gothic
call fcn.10023113
pop ecx
test eax, eax
je 0x10023016
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 0x10023031
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 0x10023050
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 0x10023056
push ebx
push edi
push eax
call fcn.1002279c
add esp, 0xc
jmp 0x10023056
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.10007bab
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 0x100230cf
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.10008ad3
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x10023097
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x100230a5
push edi
call fcn.10144f80
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.100048ad
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.10007084
call fcn.1000709e
int3
Function at 0x1003327c
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x1015d638
call fcn.1013ca54
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 0x1003340d
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x100333df
sub eax, 1
je 0x100332fb
sub eax, 1
je 0x100332d3
sub eax, 1
je 0x100332fb
push 0x10199dd6
mov ecx, edi
call fcn.10002d81
mov eax, edi
call fcn.1013ca03
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 0x100332bd
lea eax, [ebp - 0x28c]
push eax
jmp 0x100332c2
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x100332bd
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.1001e75b
test eax, eax
je 0x100332bd
lea ecx, [ebp - 0x3a0]
call fcn.10002e2b
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10033395
test byte [ebp - 0x21c], 0x18
jne 0x100333b7
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 [0x1016a968]
mov ecx, ebx
call esi
jmp 0x100333b7
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 [0x1016a968]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.100037c5
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10004716
jmp 0x100332c9
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 0x100332bd
lea eax, [ebp - 0x390]
jmp 0x100332f8
call fcn.10007084
int3

Function at 0x10033585
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100831f2
call fcn.100087d9
cmp dword [eax + 0x14], 0
jne 0x100335a0
mov ecx, esi
pop esi
jmp fcn.1003288d
pop esi
ret

Function at 0x10033f1b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x101b5e80]
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 0x10033f85
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 0x10033f6a
lea eax, [ebp - 0x158]
push eax
jmp 0x10033f6f
push 0x101732a0
call fcn.10002d81
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1013c133
leave
ret 8
call fcn.10007084
int3
Function at 0x1003446a
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10001ee0
call fcn.100087d9
cmp dword [eax + 0x14], 0
jne 0x10034485
mov ecx, esi
pop esi
jmp fcn.10033cc5
pop esi
ret
Function at 0x1003d3f1
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 0x1003d40a
call fcn.10008785
mov esi, dword [eax + 0xc]
push 0x10174808
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1003d44c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003d44c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1003d44c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1003d455
jmp 0x1003d44e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10065440
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 0x100655c7
je 0x100655ee
sub eax, 0xa1
je 0x100655ee
sub eax, 1
je 0x100655ee
dec eax
sub eax, 1
je 0x100655ee
sub eax, 1
je 0x100655ee
dec eax
sub eax, 1
je 0x100655ee
sub eax, 1
je 0x100655ee
sub eax, 0x58
jne 0x1006562c
cmp dword [edi + 0xc0], 0xffffffff
je 0x100655ee
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100655ee
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x1006551c
sub eax, 1
jne 0x100655ee
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x1006550b
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 [0x1016a968]
mov ecx, edi
call esi
test eax, eax
jne 0x10065568
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100654e1
jmp 0x10065646
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x10065646
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 [0x1016a968]
mov ecx, edi
call esi
test eax, eax
jne 0x10065568
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x10065533
jmp 0x10065646
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1016a968]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1016a968]
mov ecx, edi
call esi
mov ecx, eax
call fcn.1001079b
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1016a968]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x10065646
sub eax, 0x200
je 0x100655ee
sub eax, 1
je 0x100655ee
sub eax, 1
je 0x100655ee
dec eax
sub eax, 1
je 0x100655ee
sub eax, 1
je 0x100655ee
dec eax
sub eax, 1
je 0x100655ee
sub eax, 1
jne 0x1006562c
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1006560d
cmp dword [eax + 0x20], ebx
je 0x1006560d
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 0x1006562c
cmp dword [eax + 0x20], ebx
je 0x1006562c
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x1006564b
lea eax, [edi + 0x2250]
test eax, eax
je 0x10065642
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x1006564b
xor eax, eax
inc eax
jmp 0x10065653
push esi
mov ecx, edi
call fcn.1005d3a8
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10083886
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101b5e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x100838b2
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100838dd
cmp dword [0x101bc3fc], 0
jne 0x100838dd
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x100838d9
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x100838d9
push edi
call fcn.1014cea3
pop ecx
jmp 0x10083952
mov eax, edi
jmp 0x10083952
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 0x10083961
push esi
call fcn.1000247b
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.1013c133
leave
ret 4
call fcn.10007084
int3
Function at 0x100a030a
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 0x100a0468
push esi
push edi
push 0x1017e77c
call fcn.10009299
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x100a03a3
mov edi, dword [ebx + 0x168]
jmp 0x100a038f
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 0x100a038f
push esi
call fcn.1000b4b3
push eax
push 0x101b56f8
call fcn.100091fa
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x100a038f
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x1016a968]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x100a038f
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x100a033e
lea ecx, [ebx + 0x164]
call fcn.1001803d
jmp 0x100a0466
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100a0466
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1000b731
mov edi, dword [eax]
test edi, edi
jne 0x100a03cf
xor esi, esi
jmp 0x100a03d2
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 0x100a0456
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100a0456
cmp dword [ebp - 0x10], 0
jne 0x100a042b
push edi
push 0x101b56f8
call fcn.100091fa
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x1016a968]
mov ecx, edi
call esi
push eax
push 0x101756dc
call fcn.100091fa
pop ecx
pop ecx
test eax, eax
je 0x100a0456
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.1009f47b
test eax, eax
jne 0x100a0456
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.1009d5b1
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x100a03ba
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100d999a
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 0x100d99c7
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100d99dc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100d99dc
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.1000b4b3
jmp 0x100d9aad
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1000b4b3
cmp eax, edi
jne 0x100d9ab7
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 0x100d9a49
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 0x100d9a8d
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100d9ab7
cmp eax, 0x205
je 0x100d9ab7
cmp eax, 0x201
je 0x100d9ab7
cmp eax, 0x204
je 0x100d9ab7
cmp eax, 0x100
jne 0x100d9a75
cmp dword [ebp - 0x18], 0x1b
je 0x100d9ab7
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 0x100d9aad
ja 0x100d9aa6
cmp eax, dword [0x101bd858]
jbe 0x100d9aad
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100d99fe
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100d9e8f
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100d9ec5
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.10002455
test eax, eax
je 0x100d9ead
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 0x100e0716
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101b55ec], 0
push esi
push edi
je 0x100e079e
cmp dword [0x101b5928], 0xfffffffe
jne 0x100e078a
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100e079e
mov edi, 0x101bd884
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101bd89c], 0
jne 0x100e07a2
push 0
push 0
push 0x100e07a8
call fcn.10144997
add esp, 0xc
mov dword [0x101bd89c], eax
test eax, eax
je 0x100e077a
cmp eax, 0xffffffff
je 0x100e077a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101b5928], esi
jmp 0x100e0781
and dword [0x101bd89c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100e079e
mov eax, dword [ebp + 8]
mov dword [0x101b5928], eax
cmp eax, 0xffffffff
jne 0x100e079e
and dword [0x101bd89c], 0
pop edi
pop esi
pop ebp
ret
call fcn.10007084
int3