joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a13c1
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101c9e80]
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.1014d4d0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.10155d7a
push eax
call fcn.1000333d
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x10189a4c]
je 0x100a151f
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 0x100a1533
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100a1533
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 0x100a147d
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x100a1471
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.100a1172
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x100a1478
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100a147f
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100a1671
test eax, eax
je 0x100a14a6
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.100a0ff9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x100a14aa
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.100a1671
test eax, eax
je 0x100a14d1
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.100a0ff9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x100a14d5
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.100a1671
test eax, eax
je 0x100a14fd
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.100a0ff9
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x100a14ff
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x100a1511
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x100a151f
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.1014b0c0
leave
ret 4
xor eax, eax
jmp 0x100a1522
Function at 0x100a55a7
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 0x100a55ef
call fcn.10016552
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 0x100a55ef
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100a55fc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x100a5638
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x100a561b
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x100a5624
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x100a5636
test di, di
jne 0x100a5636
test dx, dx
je 0x100a5638
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100a563d
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 0x100a5668
cmp dword [esi + 0x80], 0
jne 0x100a5668
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.10016552
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100a5698
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100a5698
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.100a58ff
jmp 0x100a569a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100a56a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.10016552
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100a56e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100a56e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.100a56e9
jmp 0x100a56e3
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x100a59d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x101721df
call fcn.1014b8cc
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.10016552
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x100a5a33
call fcn.10016552
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 0x100a5a47
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x100a5a43
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x100a5a4f
or eax, 0xffffffff
jmp 0x100a5ba1
mov ecx, edi
call fcn.100a5fd7
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.10029154
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x100a5adb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x100a5adb
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100a5adb
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.10002abb
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x100a5ad8
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x100a5ad8
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.1001e074
test eax, eax
je 0x100a5ad8
push 0
mov ecx, esi
call fcn.1001d992
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.10028e21
push ebx
call fcn.1002a3f5
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.100a5977
test eax, eax
jne 0x100a5b24
cmp dword [edi + 0x9c], eax
jne 0x100a5b24
call fcn.10016552
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1002a3f5
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.100a5977
and dword [edi + 0x9c], 0
jmp 0x100a5b4f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x100a5b63
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.1001d992
test esi, esi
je 0x100a5b70
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x100a5b86
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x100a5b86
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
mov ecx, edi
call fcn.100a5f8e
mov eax, dword [edi + 0x68]
call fcn.1014b831
ret
Function at 0x100a7804
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 0x100a785a
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x100a7833
call fcn.1001b544
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x100a7848
call fcn.1001b544
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100a785a
call fcn.1001b544
call fcn.10016552
cmp dword [eax + 0x3c], 0
je 0x100a786f
push esi
mov ecx, ebx
call fcn.100a6f2a
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.100a7a59
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100a7898
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100a78a4
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 0x100a82cf
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101c9e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x100a82fb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100a8326
cmp dword [0x101d0984], 0
jne 0x100a8326
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x100a8322
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x100a8322
push edi
call fcn.10158845
pop ecx
jmp 0x100a839b
mov eax, edi
jmp 0x100a839b
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 0x100a83aa
push esi
call fcn.100130fb
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.1014b0c0
leave
ret 4
call fcn.10014b9e
int3
Function at 0x100c9da9
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 0x100c9dd6
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100c9deb
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100c9deb
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.1002a3f5
jmp 0x100c9ebc
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1002a3f5
cmp eax, edi
jne 0x100c9ec6
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 0x100c9e58
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 0x100c9e9c
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100c9ec6
cmp eax, 0x205
je 0x100c9ec6
cmp eax, 0x201
je 0x100c9ec6
cmp eax, 0x204
je 0x100c9ec6
cmp eax, 0x100
jne 0x100c9e84
cmp dword [ebp - 0x18], 0x1b
je 0x100c9ec6
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 0x100c9ebc
ja 0x100c9eb5
cmp eax, dword [0x101d2014]
jbe 0x100c9ebc
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100c9e0d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100caebf
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100caef5
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.10002abb
test eax, eax
je 0x100caedd
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 0x100d8fa2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101c97a0], 0
push esi
push edi
je 0x100d902a
cmp dword [0x101c97c8], 0xfffffffe
jne 0x100d9016
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100d902a
mov edi, 0x101d2064
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101d207c], 0
jne 0x100d902e
push 0
push 0
push 0x100d9034
call fcn.10155c72
add esp, 0xc
mov dword [0x101d207c], eax
test eax, eax
je 0x100d9006
cmp eax, 0xffffffff
je 0x100d9006
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101c97c8], esi
jmp 0x100d900d
and dword [0x101d207c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100d902a
mov eax, dword [ebp + 8]
mov dword [0x101c97c8], eax
cmp eax, 0xffffffff
jne 0x100d902a
and dword [0x101d207c], 0
pop edi
pop esi
pop ebp
ret
call fcn.10014b9e
int3
Function at 0x100e0a5b
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 0x100e0be2
je 0x100e0c09
sub eax, 0xa1
je 0x100e0c09
sub eax, 1
je 0x100e0c09
dec eax
sub eax, 1
je 0x100e0c09
sub eax, 1
je 0x100e0c09
dec eax
sub eax, 1
je 0x100e0c09
sub eax, 1
je 0x100e0c09
sub eax, 0x58
jne 0x100e0c47
cmp dword [edi + 0xc0], 0xffffffff
je 0x100e0c09
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100e0c09
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100e0b37
sub eax, 1
jne 0x100e0c09
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100e0b26
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 [0x1017b9f0]
mov ecx, edi
call esi
test eax, eax
jne 0x100e0b83
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100e0afc
jmp 0x100e0c61
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100e0c61
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 [0x1017b9f0]
mov ecx, edi
call esi
test eax, eax
jne 0x100e0b83
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100e0b4e
jmp 0x100e0c61
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.1001e40b
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100e0c61
sub eax, 0x200
je 0x100e0c09
sub eax, 1
je 0x100e0c09
sub eax, 1
je 0x100e0c09
dec eax
sub eax, 1
je 0x100e0c09
sub eax, 1
je 0x100e0c09
dec eax
sub eax, 1
je 0x100e0c09
sub eax, 1
jne 0x100e0c47
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100e0c28
cmp dword [eax + 0x20], ebx
je 0x100e0c28
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 0x100e0c47
cmp dword [eax + 0x20], ebx
je 0x100e0c47
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x100e0c66
lea eax, [edi + 0x2250]
test eax, eax
je 0x100e0c5d
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100e0c66
xor eax, eax
inc eax
jmp 0x100e0c6e
push esi
mov ecx, edi
call fcn.1007156b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1010bdd0
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x1016f072
call fcn.1014b863
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x1010beb6
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1010beb6
cmp esi, 0x43
je 0x1010be12
cmp esi, 0x2d
jne 0x1010beb6
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1010beb6
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.10002c96
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10003acd
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1010bea4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1010bea4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.100045aa
push ebx
mov ecx, edi
call fcn.10129489
call fcn.1014b831
ret 4

Function at 0x10110ee7
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.1001db0f
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 0x10110f23
call fcn.10111104
mov dword [esi + 0xc], 1
jmp 0x10110f28
call fcn.10111104
cmp dword [esi], 0
je 0x10110f73
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 0x10110f4e
push edi
call fcn.10015639
lea ecx, [edi + 1]
push ecx
jmp 0x10110f5d
push 0xff
call fcn.10004168
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100125a5
pop edi
jmp 0x10110f97
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 0x10110f97
push dword [esi]
push dword [ebp - 4]
call fcn.10017a35
pop esi
leave
ret 0xc
Function at 0x1011105b
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.10111104
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x101110a3
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10015639
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100125a5
jmp 0x101110ae
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10017a35
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10112bb2
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10112cf8
mov ecx, 0x101c9a48
call fcn.10015ec6
mov esi, eax
test esi, esi
je 0x10112ced
xor eax, eax
cmp word [esi + 8], ax
jne 0x10112cb7
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x10112c73
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x10112c39
push str.MS_UI_Gothic
call fcn.10112d36
pop ecx
test eax, eax
je 0x10112c39
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 0x10112c54
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 0x10112c73
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 0x10112c79
push ebx
push edi
push eax
call fcn.10112724
add esp, 0xc
jmp 0x10112c79
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.100157de
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 0x10112cf2
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.10016e41
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x10112cba
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x10112cc8
push edi
call fcn.10151020
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.10004741
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.10014b9e
call fcn.10014bb8
int3
Function at 0x10112df9
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.1015d313
pop ecx
test eax, eax
jne 0x10112e3b
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.1001280a
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10112e01
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 0x10121a82
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 0x10121acf
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.10151020
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x10121ac6
mov edx, ecx
movsx ecx, byte [esi + edi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x10121ab4
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.10014b9e
int3