joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033e9a
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c83c
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.10168950
mov eax, dword [0x101f7004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x10033fd1
push 0
push edx
call fcn.1003401e
mov ebx, eax
test ebx, ebx
jne 0x10033f02
push esi
jmp 0x10033ff9
call fcn.1002c5b4
push eax
lea ecx, [ebp - 0x2014]
call fcn.10013650
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x10033f90
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.100139d0
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.100288fa
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x10033fbe
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.100230d0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10013840
jmp 0x10034000
push esi
mov ecx, edi
call fcn.10022ca0
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x10033fb7
test esi, esi
jne 0x10033fda
mov esi, 0x101cd86c
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.10022ca0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10167cb7
leave
ret 0x10

Function at 0x100364ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.1002f6f2
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003651f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.10036532
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1003d578
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x1018d109
call fcn.1016881c
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x1003d67a
cmp edi, dword [ebx + 0xc]
jge 0x1003d67a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1003d5cf
cmp edi, dword [esi + 8]
jl 0x1003d668
cmp dword [ebp + 0xc], 0
je 0x1003d668
xor edi, edi
jmp 0x1003d601
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.1003cff6
mov esi, eax
test esi, esi
je 0x1003d5e9
mov dword [esi], vtable.CThreadData.0
jmp 0x1003d5eb
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov dword [esi + ecx], eax
mov dword [ebx + 0x14], esi
cmp dword [esi + 0xc], edi
jne 0x1003d61c
push 4
push dword [ebx + 0xc]
call fcn.1002c3ef
pop ecx
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1003d634
push 2
push 4
push dword [ebx + 0xc]
call fcn.1002c3ef
pop ecx
pop ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x1003d6a1
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.1016abf0
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1003d67a
cmp edi, dword [esi + 8]
jge 0x1003d67a
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1016877a
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1002c0d4
int3
Function at 0x10042303
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x10042359
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10042332
call fcn.1002d0be
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10042347
call fcn.1002d0be
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10042359
call fcn.1002d0be
call fcn.1002f6f2
cmp dword [eax + 0x3c], 0
je 0x1004236e
push edi
mov ecx, ebx
call fcn.10041a33
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.10042554
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10042397
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100423a3
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10050b46
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x1018df96
call fcn.101687e5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x10050d0d
test ebx, ebx
je 0x10050d0d
lea ecx, [ebp - 0x268]
mov esi, 0x104
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x10050bb6
push 0xffffffffffffffff
push ebx
push esi
push dword [ebp - 0x264]
call fcn.10175524
push eax
call fcn.1001e860
add esp, 0x14
push ebx
push edi
call fcn.10050b04
xor eax, eax
call fcn.1016878f
ret 0xc
cmp eax, esi
jb 0x10050bd8
test edi, edi
je 0x10050bac
push ebx
mov dword [edi + 8], 3
call fcn.10174fd9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x10]
call fcn.10023170
jmp 0x10050bac
call fcn.1002c5b4
push eax
lea ecx, [ebp - 0x26c]
call fcn.10013650
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call fcn.10050470
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x10050cd8
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10050c48
push ebx
push edi
call fcn.10050b04
lea ecx, [esi - 0x10]
call fcn.10013840
jmp 0x10050bac
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x10050c64
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x10050cd8
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10050cd8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10050c34
cmp eax, dword [ebp - 0x264]
jbe 0x10050c34
lea eax, [ebp - 0x234]
push eax
call fcn.10174fd9
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x10050ce8
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.101753f5
push eax
call fcn.1001e860
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.10013840
xor eax, eax
inc eax
jmp 0x10050bae
test edi, edi
je 0x10050c3b
push ebx
mov dword [edi + 8], 3
call fcn.10174fd9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x10]
call fcn.10023170
jmp 0x10050c3b
call fcn.1002c0ba
int3
Function at 0x10050ef6
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.1002e0db
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10050f32
call fcn.10051111
mov dword [esi + 0xc], 1
jmp 0x10050f37
call fcn.10051111
cmp dword [esi], 0
je 0x10050f80
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10050f5a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1002625f
jmp 0x10050f6b
push 0xff
mov ecx, esi
call fcn.100139d0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100288fa
jmp 0x10050fa4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10050fa4
push dword [esi]
push dword [ebp - 4]
call fcn.100408e2
pop esi
leave
ret 0xc

Function at 0x10051068
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.10051111
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100510b0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1002625f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100288fa
jmp 0x100510bb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100408e2
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1005d48e
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 0x1005d4a7
call fcn.1002f6f2
mov esi, dword [eax + 0xc]
push 0x101a20c4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005d4e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1005d4e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1005d4e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1005d4f2
jmp 0x1005d4eb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1006fcd4
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101f7004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x1006fd03
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1006fd30
cmp dword [0x101fe61c], 0
jne 0x1006fd30
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x1006fd2c
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1006fd2c
push esi
call fcn.101793b2
pop ecx
jmp 0x1006fda3
mov eax, esi
jmp 0x1006fda3
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.1016abf0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1006fdb3
call fcn.1003338d
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10167cb7
leave
ret 4
call fcn.1002c0ba
int3
Function at 0x1008f5fc
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101f7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.1016abf0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.10175524
push eax
call fcn.1001e860
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x101a1070]
je 0x1008f766
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 0x1008f77a
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1008f77a
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x1008f695
mov eax, edi
jmp 0x1008f6c4
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1008f6b2
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.1008f3f7
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x1008f6bb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1008f8bd
test eax, eax
je 0x1008f6e9
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.1008f381
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1008f6ed
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1008f8bd
test eax, eax
je 0x1008f714
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1008f381
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1008f718
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.1008f8bd
test eax, eax
je 0x1008f740
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.1008f381
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x1008f742
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x1008f754
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x1008f766
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10167cb7
leave
ret 4
xor eax, eax
jmp 0x1008f769
Function at 0x10095846
Capabilities:
Get file system object information

Disassembly:
push 0x6f4
mov eax, 0x10190f3b
call fcn.101687e5
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x100959dd
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x100959af
sub eax, 1
je 0x100958c5
sub eax, 1
je 0x1009589d
sub eax, 1
je 0x100958c5
push 0x101cd86c
mov ecx, edi
call fcn.10022ca0
mov eax, edi
call fcn.1016878f
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10095887
lea eax, [ebp - 0x4e8]
push eax
jmp 0x1009588c
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10095887
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.1008f77e
test eax, eax
je 0x10095887
call fcn.1002c5b4
push eax
lea ecx, [ebp - 0x700]
call fcn.10013650
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10095965
test byte [ebp - 0x428], 0x18
jne 0x10095987
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x1019ba8c]
mov ecx, ebx
call esi
jmp 0x10095987
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.100230d0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10013840
jmp 0x10095893
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10095887
lea eax, [ebp - 0x6f0]
jmp 0x100958c2
call fcn.1002c0ba
int3

Function at 0x10095b70
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1012d031
call fcn.1002f746
cmp dword [eax + 0x14], 0
jne 0x10095b8b
mov ecx, esi
pop esi
jmp fcn.10094e68
pop esi
ret

Function at 0x100a42b1
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10001f40
call fcn.1002f746
cmp dword [eax + 0x14], 0
jne 0x100a42cc
mov ecx, esi
pop esi
jmp fcn.100a3b13
pop esi
ret
Function at 0x100b5daa
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 0x100b5f3d
je 0x100b5f63
cmp eax, 0xa1
jb 0x100b5fa1
cmp eax, 0xa2
jbe 0x100b5f63
cmp eax, 0xa3
jbe 0x100b5fa1
cmp eax, 0xa5
jbe 0x100b5f63
cmp eax, 0xa6
jbe 0x100b5fa1
cmp eax, 0xa8
jbe 0x100b5f63
cmp eax, 0x100
jne 0x100b5fa1
cmp dword [edi + 0xc0], 0xffffffff
je 0x100b5f63
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100b5f63
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100b5e92
sub eax, 1
jne 0x100b5f63
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100b5e81
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 [0x1019ba8c]
mov ecx, edi
call esi
test eax, eax
jne 0x100b5ede
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100b5e57
jmp 0x100b5fbb
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100b5fbb
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 [0x1019ba8c]
mov ecx, edi
call esi
test eax, eax
jne 0x100b5ede
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100b5ea9
jmp 0x100b5fbb
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
mov ecx, eax
call fcn.1002e9d9
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100b5fbb
cmp eax, 0x200
jb 0x100b5fa1
cmp eax, 0x202
jbe 0x100b5f63
cmp eax, 0x203
jbe 0x100b5fa1
cmp eax, 0x205
jbe 0x100b5f63
add eax, 0xfffffdf9
cmp eax, 1
ja 0x100b5fa1
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100b5f82
cmp dword [eax + 0x20], ebx
je 0x100b5f82
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x100b5fa1
cmp dword [eax + 0x20], ebx
je 0x100b5fa1
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x100b5fc0
lea eax, [edi + 0x2250]
test eax, eax
je 0x100b5fb7
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100b5fc0
xor eax, eax
inc eax
jmp 0x100b5fc8
push esi
mov ecx, edi
call fcn.100af644
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100bbaeb
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x100bbb21
call fcn.1001ea50
test eax, eax
je 0x100bbb03
mov eax, dword [eax + 0x20]
push 1
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x14]
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jb 0x100bbb21
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x101071dd
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 0x10107291
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x1010728d
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1010728d
cmp dword [ebx], eax
jne 0x1010728d
mov eax, dword [ebx + 4]
sub eax, 1
je 0x1010725c
sub eax, 1
je 0x1010722a
sub eax, 1
jne 0x1010728d
mov edi, 0x428e
jmp 0x10107261
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10107261
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x10107261
add edi, 3
jmp 0x10107261
mov edi, 0x3ea0
push edi
call fcn.10038bb1
test eax, eax
je 0x10107291
push edi
push eax
mov ecx, 0x101ffae8
call fcn.10022f40
test eax, eax
je 0x10107291
mov eax, dword [0x101ffae8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x10107286
call fcn.1002c0ba
int3
Function at 0x1013c51d
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.10179bfa
pop ecx
test eax, eax
jne 0x1013c55f
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.100343b9
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1013c525
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x1015b1c6
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x1018f695
call fcn.101687b1
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x1015b2ac
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1015b2ac
cmp edi, 0x43
je 0x1015b20b
cmp edi, 0x2d
jne 0x1015b2ac
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1015b2ac
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.1002c5b4
push eax
lea ecx, [ebp - 0x10]
call fcn.10013650
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10013b30
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.10013840
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.100fab72
call fcn.1016877a
ret 4

Function at 0x101818d4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10181551