joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100931c8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test edx, edx
je 0x100933ef
test ebx, ebx
je 0x100933ef
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x644], xmm0
movlpd qword [ebp - 0x63c], xmm0
movlpd qword [ebp - 0x634], xmm0
movlpd qword [ebp - 0x874], xmm0
movlpd qword [ebp - 0x86c], xmm0
movlpd qword [ebp - 0x864], xmm0
sub eax, edi
je 0x100933b8
sub eax, 1
je 0x1009324b
sub eax, 1
je 0x1009331c
sub eax, 1
jne 0x100933eb
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100933b3
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1008f767
test eax, eax
je 0x100933b3
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100933ae
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1008f767
test eax, eax
je 0x100933ae
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x10093377
test byte [ebp - 0x624], 0x10
jne 0x100933b3
test byte [ebp - 0x854], 0x10
jne 0x10093315
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x10093315
jb 0x100933b3
cmp dword [ebp - 0x62c], eax
jb 0x100933b3
cmp dword [ebp - 0x628], ecx
jb 0x100933eb
ja 0x10093315
cmp dword [ebp - 0x62c], eax
jbe 0x100933eb
mov edi, edx
jmp 0x100933eb
mov esi, 0x408
lea eax, [ebp - 0xddc]
push esi
push 0x2b4
push eax
push edi
push dword [edx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x100933eb
push esi
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x100933eb
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x100933eb
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x10093315
jl 0x100933b3
cmp dword [ebp - 0x63c], eax
jb 0x100933b3
cmp dword [ebp - 0x638], ecx
jl 0x100933eb
jg 0x10093315
cmp dword [ebp - 0x63c], eax
jmp 0x1009330f
xor edi, edi
inc edi
jmp 0x100933eb
or edi, 0xffffffff
jmp 0x100933eb
mov ecx, dword [edx]
push dword [ebx + 8]
push dword [edx + 8]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x10190a00]
call esi
test eax, eax
jns 0x100933e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10154fa7
leave
ret 0xc
movsx edi, ax
mov eax, edi
jmp 0x100933d7
call fcn.10023201
int3
Function at 0x100939d5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100939f4
or eax, 0xffffffff
jmp 0x10093a20
push esi
push 0xc009
push 0x2b4
lea ecx, [ebp - 0x2b8]
or esi, 0xffffffff
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x2b4]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10154fa7
leave
ret 8

Function at 0x10093a2e
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x10187315
call fcn.1015501b
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x10093bb6
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x10093b88
sub eax, 1
je 0x10093aad
sub eax, 1
je 0x10093a85
sub eax, 1
je 0x10093aad
push 0x101916b0
mov ecx, edi
call fcn.100228ba
mov eax, edi
call fcn.10154fc9
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 0x10093a6f
lea eax, [ebp - 0x4e8]
push eax
jmp 0x10093a74
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10093a6f
push esi
lea eax, [ebp - 0x448]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x448], xmm0
push eax
movlpd qword [ebp - 0x440], xmm0
movlpd qword [ebp - 0x438], xmm0
call fcn.1008f767
test eax, eax
je 0x10093a6f
lea ecx, [ebp - 0x700]
call fcn.10014dc0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10093b3e
test byte [ebp - 0x428], 0x18
jne 0x10093b60
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 [0x10190a00]
mov ecx, ebx
call esi
jmp 0x10093b60
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 [0x10190a00]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.100157f6
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.100146e0
jmp 0x10093a7b
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 0x10093a6f
lea eax, [ebp - 0x6f0]
jmp 0x10093aaa
call fcn.10023201
int3

Function at 0x10093d1b
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1012e7fa
call fcn.10030d4d
cmp dword [eax + 0x14], 0
jne 0x10093d36
mov ecx, esi
pop esi
jmp fcn.10093058
pop esi
ret
Function at 0x10094e98
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x10094ece
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.10017c81
test eax, eax
je 0x10094eb6
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10096326
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 0x10096353
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x10096368
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10096368
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.10019512
jmp 0x10096439
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.10019512
cmp eax, edi
jne 0x10096443
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100963d5
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10096419
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x10096443
cmp eax, 0x205
je 0x10096443
cmp eax, 0x201
je 0x10096443
cmp eax, 0x204
je 0x10096443
cmp eax, 0x100
jne 0x10096401
cmp dword [ebp - 0x18], 0x1b
je 0x10096443
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 0x10096439
ja 0x10096432
cmp eax, dword [0x101ef080]
jbe 0x10096439
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x1009638a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10099eba
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 0x10099ed3
call fcn.10030cf9
mov esi, dword [eax + 0xc]
push 0x101a2f14
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x10099f15
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10099f15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10099f15
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10099f1e
jmp 0x10099f17
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100ae4b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101e659c], 0
push esi
push edi
je 0x100ae538
cmp dword [0x101e67e8], 0xfffffffe
jne 0x100ae524
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100ae538
mov edi, 0x101ef124
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101ef13c], 0
jne 0x100ae53c
push 0
push 0
push 0x100ae542
call fcn.10165a56
add esp, 0xc
mov dword [0x101ef13c], eax
test eax, eax
je 0x100ae514
cmp eax, 0xffffffff
je 0x100ae514
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101e67e8], esi
jmp 0x100ae51b
and dword [0x101ef13c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100ae538
mov eax, dword [ebp + 8]
mov dword [0x101e67e8], eax
cmp eax, 0xffffffff
jne 0x100ae538
and dword [0x101ef13c], 0
pop edi
pop esi
pop ebp
ret
call fcn.10023201
int3
Function at 0x100bf35a
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 0x100bf4e1
je 0x100bf508
sub eax, 0xa1
je 0x100bf508
sub eax, 1
je 0x100bf508
dec eax
sub eax, 1
je 0x100bf508
sub eax, 1
je 0x100bf508
dec eax
sub eax, 1
je 0x100bf508
sub eax, 1
je 0x100bf508
sub eax, 0x58
jne 0x100bf546
cmp dword [edi + 0xc0], 0xffffffff
je 0x100bf508
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100bf508
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100bf436
sub eax, 1
jne 0x100bf508
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100bf425
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 [0x10190a00]
mov ecx, edi
call esi
test eax, eax
jne 0x100bf482
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100bf3fb
jmp 0x100bf560
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100bf560
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 [0x10190a00]
mov ecx, edi
call esi
test eax, eax
jne 0x100bf482
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100bf44d
jmp 0x100bf560
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov ecx, eax
call fcn.1001e775
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100bf560
sub eax, 0x200
je 0x100bf508
sub eax, 1
je 0x100bf508
sub eax, 1
je 0x100bf508
dec eax
sub eax, 1
je 0x100bf508
sub eax, 1
je 0x100bf508
dec eax
sub eax, 1
je 0x100bf508
sub eax, 1
jne 0x100bf546
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100bf527
cmp dword [eax + 0x20], ebx
je 0x100bf527
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 0x100bf546
cmp dword [eax + 0x20], ebx
je 0x100bf546
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x100bf565
lea eax, [edi + 0x2250]
test eax, eax
je 0x100bf55c
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100bf565
xor eax, eax
inc eax
jmp 0x100bf56d
push esi
mov ecx, edi
call fcn.100b9928
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100db87b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100db8da
cmp dword [ebp + 0xc], 0
mov edx, 0xc009
mov eax, 0x400b
cmove eax, edx
push eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [ebp - 0x2b4]
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10154fa7
leave
ret 8
call fcn.10023201
int3

Function at 0x100db8e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x100db94a
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x100db92f
lea eax, [ebp - 0x2ac]
push eax
jmp 0x100db934
push 0x101a9d10
call fcn.100228ba
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10154fa7
leave
ret 8
call fcn.10023201
int3

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

Disassembly:
push esi
mov esi, ecx
call fcn.10002210
call fcn.10030d4d
cmp dword [eax + 0x14], 0
jne 0x100dbe43
mov ecx, esi
pop esi
jmp fcn.100db68b
pop esi
ret
Function at 0x1010df4f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], eax
cmp edi, 0x20
jne 0x1010dfbb
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov ecx, esi
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x17
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1010edea
mov ecx, esi
call fcn.1010e2b9
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x1010e007
push ebx
xor ebx, ebx
cmp dword [esi + 0x318], ebx
jne 0x1010dfd7
cmp edi, 0x79
je 0x1010dfd0
cmp edi, 0x12
jne 0x1010dfd3
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x1010e006
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
cmp edi, 0x12
je 0x1010e017
cmp edi, 0x79
je 0x1010e017
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10154fa7
leave
ret 0xc
cmp dword [0x101ee7e8], ebx
jne 0x1010e004
test byte [esi + 0x330], 2
jne 0x1010e004
cmp edi, 0x12
je 0x1010e040
cmp edi, 0x79
jne 0x1010e004
mov ecx, 0x8000
test dword [ebp - 0x20], ecx
jne 0x1010e004
test ecx, eax
jne 0x1010e004
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10019512
cmp eax, esi
jne 0x1010e063
test dword [ebp + 0x10], 0x40000000
jne 0x1010e063
cmp edi, 0x79
jne 0x1010e071
mov ecx, dword [ebp - 0x18]
jmp 0x1010e06a
cmp edi, 0x79
jne 0x1010e071
mov ecx, esi
call fcn.1001e775
jmp 0x1010e08d
cmp dword [esi + 0x2d4], ebx
jge 0x1010e08d
push ebx
push 0xc8
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x1010e006
Function at 0x1011610c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x1b8]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov ecx, dword [0x101e665c]
test al, 0x80
push 0xffffffffffffffff
pop eax
cmovne ecx, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x2b4]
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
push dword [ebp - 4]
mov esi, eax
push 0x101e6b14
mov dword [ebp - 0xc], esi
call fcn.10030e13
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x10116221
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x10116221
test ebx, ebx
je 0x101161b1
mov eax, dword [ebx]
push 0
mov esi, dword [eax + 0x228]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
push eax
push 0x101e6b60
call fcn.10030e13
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
jmp 0x101161b3
xor eax, eax
mov dword [ebp - 8], eax
cmp esi, 2
jne 0x1011622a
test eax, eax
je 0x10116203
mov eax, dword [edi]
mov esi, dword [eax + 0x1c0]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test al, 0x40
je 0x10116221
cmp dword [ebp - 4], 0
je 0x10116203
mov ebx, dword [ebp - 8]
push edi
mov eax, dword [ebx]
mov esi, dword [eax + 0x24c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, edi
jmp 0x10116223
mov eax, dword [edi]
push 5
push 0
push ebx
mov esi, dword [eax + 0x1f8]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp esi, 3
jne 0x10116221
test ebx, ebx
je 0x10116221
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x184]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
test eax, eax
je 0x10116221
mov eax, dword [edi]
mov esi, dword [eax + 0x18c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test eax, eax
je 0x10116221
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0x240]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov eax, dword [edi]
push 0
push 1
push 5
mov esi, dword [eax + 0x34c]
mov ecx, esi
push ebx
call dword [0x10190a00]
mov ecx, edi
call esi
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x10116223
Function at 0x10118554
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 0x101185f3
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x101185ef
mov eax, dword [eax + 0x20]
test eax, eax
je 0x101185ef
cmp dword [ebx], eax
jne 0x101185ef
mov eax, dword [ebx + 4]
sub eax, 1
je 0x101185c9
sub eax, 1
je 0x10118599
sub eax, 1
jne 0x101185ef
mov edi, 0x428e
jmp 0x101185ce
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x101185ce
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x101185ce
add edi, 3
jmp 0x101185ce
mov edi, 0x3ea0
push edi
mov ecx, 0x101ef3d4
call fcn.10014b90
test eax, eax
je 0x101185f3
mov eax, dword [0x101ef3d4]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x101185e8
call fcn.10023201
int3

Function at 0x10143958
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x1018166f
call fcn.10154fe8
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x10143a3f
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10143a3f
cmp esi, 0x43
je 0x1014399a
cmp esi, 0x2d
jne 0x10143a3f
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10143a3f
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.10014dc0
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.10015430
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 dword [ebp - 0x10], eax
test eax, eax
je 0x10143a2d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10143a2d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
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.100146e0
push ebx
mov ecx, edi
call fcn.1002c216
call fcn.10154fb5
ret 4

Function at 0x101548fc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x10154931
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x1015492e
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x1015493a
add edx, 0x28
cmp edx, esi
jne 0x1015491c
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x10154937
Function at 0x10164f49
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10164f88
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10164f88
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10164f88
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10164f88
cmp dword [ecx + 0x74], 0xe
jbe 0x10164f88
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1016bdd3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10155260
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1016b9b1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1016be15
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1016bf71
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10155620
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x101effb8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10174583
mov ecx, dword [esi*4 + 0x101effb8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1016bf6a
cmp eax, dword [ecx + edi + 0x24]
jne 0x1016bf6a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1016bf6a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10174583
add esp, 0x14
test edx, edx
jl 0x1016bf6a
jg 0x1016bee0
test eax, eax
jb 0x1016bf6a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1016bf6a
jl 0x1016befa
cmp dword [ebp - 0x1008], eax
ja 0x1016bf6a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1016bf18
test ebx, ebx
je 0x1016bf51
cmp ecx, edi
jae 0x1016bf51
mov al, byte [ecx]
cmp al, 0xd
jne 0x1016bf32
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1016bf3e
cmp byte [ecx + 1], 0xa
jne 0x1016bf3e
inc ecx
jmp 0x1016bf3e
movzx eax, al
movsx eax, byte [eax + 0x101e7328]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1016bf18
cmp edx, ebx
jne 0x1016bf18
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1016bf6f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10154fa7
leave
ret