joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ec070
Capabilities:
Stop service
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x3c0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov ebx, ecx
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x1400ec26c
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x3d0], rdi
call fcn.140177280
lea rdx, [0x1401b4940]
lea rcx, [rsp + 0x80]
call fcn.140177fb0
call fcn.1400ce420
test rax, rax
je 0x1400ec0fc
call fcn.1400ce420
lea rdx, str.___s_
lea rcx, [rsp + 0x80]
mov r8, rax
call fcn.140178bf0
mov r8, qword [rsp + 0x88]
cmp byte [r8], 0
je 0x1400ec132
nop
nop
movzx eax, byte [r8]
cmp al, 0x5c
je 0x1400ec11c
cmp al, 0x2f
jne 0x1400ec120
mov byte [r8], 0x20
add r8, 1
cmp byte [r8], 0
jne 0x1400ec110
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x1a0]
mov edx, 0x101
call fcn.14017c730
lea rcx, [rsp + 0x80]
call fcn.14017d580
lea rdx, [rsp + 0x1a0]
mov r8d, 0x24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
jne 0x1400ec1bf
lea r8d, [rax + 4]
lea rdx, [rsp + 0x1a0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
jne 0x1400ec1bf
test ebx, ebx
je 0x1400ec259
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
lea edx, [rdi + 0x10]
mov r9, qword [r8 + 0x2078]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b60
jmp 0x1400ec259
lea rax, [rsp + 0x30]
xor ebx, ebx
lea r8, [rsp + 0x38]
lea r9d, [rbx + 0x24]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [0x140203b50]
test eax, eax
je 0x1400ec212
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
mov rbx, rax
jne 0x1400ec212
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test rbx, rbx
je 0x1400ec250
mov edx, 0xea60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400ec247
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x3d0]
jmp 0x1400ec297
test ebx, ebx
je 0x1400ec297
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b60
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x3c0
pop rsi
ret
Function at 0x1400ed1f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [rcx + 0x80]
mov rdi, rcx
test rbx, rbx
je 0x1400ed354
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
xor ebp, ebp
nop
nop
cmp dword [rbx + 0x18], ebp
mov rsi, qword [rbx]
je 0x1400ed29f
cmp dword [rdi + 0x90], ebp
je 0x1400ed261
mov rcx, qword [rdi + 0x50]
lea rdx, [rdi + 0x30]
lea r8, [rsp + 0x60]
xor r9d, r9d
mov dword [rdi + 0x90], ebp
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400ed336
mov ecx, dword [rsp + 0x60]
add qword [rbx + 0x10], rcx
sub dword [rbx + 0x18], ecx
jmp 0x1400ed29a
mov rcx, qword [rdi + 0x50]
mov dword [rdi + 0x40], ebp
mov dword [rdi + 0x44], ebp
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
lea rax, [rdi + 0x30]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400ed35f
mov ecx, dword [rsp + 0x60]
add qword [rbx + 0x10], rcx
sub dword [rbx + 0x18], ecx
cmp dword [rbx + 0x18], ebp
jne 0x1400ed228
cmp dword [rdi + 0x108], ebp
je 0x1400ed304
mov rcx, qword [0x14020e418]
test rcx, rcx
je 0x1400ed2ea
lea rdx, [rsp + 0x30]
mov dword [rsp + gethostbyname], 0x30
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x44], ebp
mov dword [rsp + 0x48], 0xbb8
mov dword [rsp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov rcx, qword [0x14020e410]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x14020e408]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 8]
call fcn.1400cf780
mov rcx, rbx
call fcn.1400cf780
test rsi, rsi
mov qword [rdi + 0x80], rsi
jne 0x1400ed328
mov qword [rdi + 0x88], rbp
test rsi, rsi
mov rbx, rsi
jne 0x1400ed220
jmp 0x1400ed34a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x1400ed378
mov dword [rdi + 0x5c], 1
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400ed343
lea rcx, str.write_pending..._n
call fcn.1400b3fb0
mov dword [rdi + 0x90], 1
jmp 0x1400ed34a
Function at 0x1400ed390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
movsxd rdi, r9d
mov r12, rcx
mov rsi, r8
lea rcx, str.write_reply__d__u_n
mov r8d, edi
mov ebx, edx
call fcn.1400b3fb0
mov ecx, 0x20
call fcn.1400cf700
lea r10d, [rdi + 8]
mov ecx, r10d
mov rbp, rax
mov dword [rax + 0x18], r10d
call fcn.1400cf700
mov ecx, dword [rbp + 0x18]
mov r8, rdi
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov dword [rax], ecx
lea rcx, [rax + 8]
mov rdx, rsi
mov dword [rax + 4], ebx
call fcn.1401a8fe0
cmp qword [r12 + 0x80], 0
je 0x1400ed418
mov rax, qword [r12 + 0x88]
mov qword [rax], rbp
jmp 0x1400ed420
mov qword [r12 + 0x80], rbp
mov qword [rbp], 0
mov rcx, r12
mov qword [r12 + 0x88], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.1400ed1f0

Function at 0x1400ed460
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.last_error__u_n
mov edx, eax
mov ebx, eax
call fcn.1400b3fb0
mov edx, 5
lea rcx, str.write_reply__d__u_n
lea r8d, [rdx - 1]
call fcn.1400b3fb0
mov ecx, 0x20
call fcn.1400cf700
mov ecx, listen
mov dword [rax + 0x18], listen
mov rdi, rax
call fcn.1400cf700
mov ecx, dword [rdi + 0x18]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov dword [rax], ecx
mov dword [rax + 4], 5
mov dword [rax + 8], ebx
cmp qword [rsi + 0x80], 0
je 0x1400ed4e8
mov rax, qword [rsi + 0x88]
mov qword [rax], rdi
jmp 0x1400ed4ef
mov qword [rsi + 0x80], rdi
mov qword [rdi], 0
mov rcx, rsi
mov qword [rsi + 0x88], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400ed1f0

Function at 0x1400ed6a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov edx, dword [rdx + 0x84]
mov rsi, rcx
lea rcx, str.data_available_on_ntfs_monitor__d_n
call fcn.1400b3fb0
mov dword [rbx + 0x80], 3
mov dword [rbx + 0x50], 0x3e8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
lea rcx, str.write_reply__d__u_n
lea r8d, [rdx + 3]
mov dword [rbx + 0x54], eax
call fcn.1400b3fb0
mov ecx, 0x20
call fcn.1400cf700
mov ecx, listen
mov dword [rax + 0x18], listen
mov rdi, rax
call fcn.1400cf700
mov ecx, dword [rdi + 0x18]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov dword [rax], ecx
mov dword [rax + 4], 1
mov ecx, dword [rbx + 0x84]
mov dword [rax + 8], ecx
cmp qword [rsi + 0x80], 0
je 0x1400ed747
mov rax, qword [rsi + 0x88]
mov qword [rax], rdi
jmp 0x1400ed74e
mov qword [rsi + 0x80], rdi
mov qword [rdi], 0
mov rcx, rsi
mov qword [rsi + 0x88], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400ed1f0
Function at 0x1400ef090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x60], edi
je 0x1400ef140
nop
nop
cmp dword [rbx + 0x7c], edi
mov rcx, qword [rbx + 0x50]
je 0x1400ef0e3
lea rdx, [rbx + 0x10]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov dword [rbx + 0x7c], edi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400ef182
mov ecx, dword [rsp + 0x40]
add qword [rbx + 0x68], rcx
sub dword [rbx + 0x60], ecx
jmp 0x1400ef137
mov r8d, dword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
lea rax, [rbx + 0x10]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rbx + 0x20], edi
mov dword [rbx + 0x24], edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ef1a1
mov rdx, qword [rbx + 0x68]
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rbx + 0x60]
sub rdx, qword [rbx + 0x70]
lea rcx, str.read_total:_p__remaining:__u__numread:__u_n
call fcn.1400b3fb0
mov r11d, dword [rsp + 0x40]
add qword [rbx + 0x68], r11
sub dword [rbx + 0x60], r11d
cmp dword [rbx + 0x60], edi
jne 0x1400ef0b0
cmp dword [rbx + 0x78], edi
je 0x1400ef1c0
mov rcx, rbx
call fcn.1400edfe0
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400ef15b
call fcn.1400cf780
mov ecx, 4
call fcn.1400cf700
mov dword [rbx + 0x60], 4
mov dword [rbx + 0x78], edi
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x68], rax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x1400ef207
mov dword [rbx + 0x7c], 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400ef207
mov dword [rbx + 0x7c], 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x70]
mov edi, dword [rcx]
lea eax, [rdi - 8]
cmp eax, 0x7ffff8
ja 0x1400ef207
call fcn.1400cf780
mov rcx, rdi
call fcn.1400cf700
mov qword [rbx + 0x70], rax
mov dword [rax], edi
mov rax, qword [rbx + 0x70]
mov dword [rbx + 0x78], 1
add rax, 4
mov qword [rbx + 0x68], rax
lea eax, [rdi - 4]
mov dword [rbx + 0x60], eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx + 0x5c], 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f45b0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
cmp ecx, 0x9c47
jg 0x1400f4631
je 0x1400f4667
sub ecx, 0x9c41
je 0x1400f4671
sub ecx, 3
je 0x1400f4625
sub ecx, 1
je 0x1400f4612
cmp ecx, 1
jne 0x1400f46a0
call fcn.140127560
test eax, eax
je 0x1400f46a0
call fcn.1400f3430
test eax, eax
je 0x1400f46a0
xor ecx, ecx
mov byte [0x14020df99], 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
movsx edx, byte [0x14020ddd2]
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp fcn.14015d1a0
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp fcn.140120170
sub ecx, 0x9c48
je 0x1400f465e
sub ecx, 0x69c
je 0x1400f4652
cmp ecx, 1
jne 0x1400f46a0
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp fcn.1401086b0
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp fcn.14012bb70
call fcn.140103a70
test eax, eax
jne 0x1400f46a0
call fcn.140103a00
test rax, rax
jne 0x1400f46a0
mov rcx, qword [0x14020de20]
mov r8d, 1
xor edx, edx
call fcn.140006780
mov r8d, 1
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call fcn.1401067d0
mov rcx, rbx
call fcn.140005dd0
add rsp, 0x20
pop rbx
ret
Function at 0x1400f7670
Capabilities:
Open clipboard

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call fcn.140131620
test eax, eax
jne 0x1400f7694
cmp qword [rbx + 0x440], 0
je 0x1400f769f
mov rcx, rbx
call fcn.140130da0
mov eax, 1
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, qword [rbx + 0x78]
mov rdx, rax
call fcn.1400d90f0
test eax, eax
je 0x1400f76c6
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, 1
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x3bc], 0
je 0x1400f76fe
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400f76e9
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x3bc], 0
mov eax, 1
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.14015fd20
test eax, eax
jne 0x1400f7694
cmp dword [rbx + 0x3b4], eax
je 0x1400f781e
mov rcx, qword [rbx + 0x78]
mov qword [rsp + 0x50], rbp
mov ebp, dword [rbx + 0x3b0]
mov qword [rsp + 0x58], rsi
call fcn.1400d9b80
mov rcx, qword [rbx + 0x78]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [rbx + 0x3b4], eax
je 0x1400f77be
mov rdx, qword [rbx + 0x68]
mov rcx, qword [rbx + 0x78]
lea rsi, [rbx + 0x3a0]
mov dword [rbx + 0x3b4], eax
call qword [sym.imp.USER32.dll_SetMenu]
mov rcx, qword [rbx + 0x78]
call fcn.1400d8890
mov rcx, qword [rbx + 0x78]
mov edx, 0xfffffff0
or eax, 0xc40000
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
test rsi, rsi
mov eax, 0x20
je 0x1400f77be
mov ecx, dword [rsi + 0xc]
mov r9d, dword [rsi + 4]
mov r8d, dword [rsi]
mov eax, dword [rsi + 8]
sub ecx, r9d
mov dword [rsp + 0x30], reloc.WS2_32.dll_gethostbyname
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx + 0x78]
sub eax, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400f77e7
mov rcx, qword [rbx + 0x78]
or eax, 0x17
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, qword [rsp + 0x58]
test ebp, ebp
mov rbp, qword [rsp + 0x50]
je 0x1400f7804
mov rcx, qword [rbx + 0x78]
mov edx, 3
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x78]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x1400f7e30
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
test ecx, ecx
js 0x1400f7e5c
cmp ecx, 1
jle 0x1400f7e55
cmp ecx, 3
jne 0x1400f7e5c
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
sets cl
mov eax, ecx
add rsp, 0x28
ret
mov eax, edx
add rsp, 0x28
ret
Function at 0x140101270
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x14020e200], 0
mov esi, edx
mov rbx, rcx
jne 0x140101382
cmp dword [0x14020e204], 5
jae 0x140101382
lea rcx, [rsp + 0x20]
call fcn.140177280
mov r8d, esi
xor edx, edx
mov rcx, rbx
call fcn.1400f88a0
lea rcx, [rsp + 0x20]
lea edx, [rax + 1]
mov dword [rsp + 0x20], eax
call fcn.14017d5a0
mov rdx, qword [rsp + 0x28]
mov r8d, esi
mov rcx, rbx
call fcn.1400f88a0
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140001000
mov ecx, 2
add eax, 1
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rdi, rax
je 0x140101376
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140001150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14010136d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rsp + 0x20]
call fcn.14017d580
jmp 0x1401013fb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rsp + 0x20]
call fcn.14017d580
jmp 0x1401013fb
mov r8d, edx
xor edx, edx
call fcn.1400f88a0
mov ecx, 2
add eax, 1
movsxd rdx, eax
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rdi, rax
je 0x1401013fb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, esi
mov rcx, rbx
mov rdx, rax
call fcn.1400f88a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401013f2
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1401013fb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx + 0x228]
call fcn.1400e8410
mov rcx, rbx
call fcn.140100d60
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140101830
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ui_close_n
call fcn.1400b3fb0
mov rcx, rbx
call fcn.1400fcc20
mov rcx, qword [rbx + 0x78]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call fcn.1400f8be0
cmp dword [rbx + 0x5b0], 0
jne 0x1401018ee
cmp byte [0x14020de06], 0
je 0x140101881
mov rcx, rbx
call fcn.14015e350
jmp 0x1401018ee
cmp qword [0x14020e4c8], rbx
mov rax, qword [rbx + 0x1b0]
mov dword [rbx + 0x5b0], 1
jne 0x1401018a4
mov qword [0x14020e4c8], rax
jmp 0x1401018b2
mov rcx, qword [rbx + 0x1b8]
mov qword [rcx + 0x1b0], rax
cmp qword [0x14020e4d0], rbx
mov rax, qword [rbx + 0x1b8]
jne 0x1401018cb
mov qword [0x14020e4d0], rax
jmp 0x1401018d9
mov rcx, qword [rbx + 0x1b0]
mov qword [rcx + 0x1b8], rax
mov rax, qword [0x14020e4a0]
mov qword [0x14020e4a0], rbx
mov qword [rbx + 0x1b0], rax
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14010190b
cmp qword [0x14020e4c8], 0
jne 0x14010190b
add rsp, 0x20
pop rbx
jmp fcn.1400f35a0
call fcn.1400e6db0
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp fcn.14000d380

Function at 0x140103740
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [reloc.WS2_32.dll_accept], 0
mov rbx, rcx
je 0x1401038ac
call fcn.14015f320
test eax, eax
je 0x14010389d
mov rcx, qword [rbx + 0x228]
mov qword [rsp + 0x30], rdi
call fcn.1400e8410
mov rcx, rbx
call fcn.140100d60
mov r8d, dword [rbx + 0x3c0]
lea rdx, str.CUT_isviewing__d_n
or ecx, 0xffffffff
call fcn.1400b3fe0
xor edi, edi
cmp dword [rbx + 0x3c0], edi
je 0x1401037b3
mov rdx, qword [rbx + 0x3c8]
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_ChangeClipboardChain]
mov dword [rbx + 0x3c0], edi
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14010382b
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbx
call fcn.1400f6780
test rax, rax
je 0x140103825
mov rdx, rax
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, 2
call fcn.1400f6710
test rax, rax
mov rdi, rax
je 0x140103820
mov ax, word [0x14020e478]
test ax, ax
jne 0x140103814
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov word [0x14020e478], ax
movzx ecx, ax
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
mov edi, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.iscut__d_n
mov r8d, edi
or ecx, 0xffffffff
call fcn.1400b3fe0
test edi, edi
je 0x140103892
lea rdx, str.ghost_selection_n
or ecx, 0xffffffff
call fcn.1400b3fe0
mov rcx, rbx
call fcn.140133fd0
mov r8d, dword [rbx + 0x3c0]
lea rdx, str.viewing__d_n
or ecx, 0xffffffff
call fcn.1400b3fe0
cmp dword [rbx + 0x3c0], 0
jne 0x140103892
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [rbx + 0x3c0], 1
mov qword [rbx + 0x3c8], rax
mov dword [rbx + 0x3bc], edi
mov rdi, qword [rsp + 0x30]
lea rdx, str.is_cut_done_n
or ecx, 0xffffffff
call fcn.1400b3fe0
add rsp, 0x20
pop rbx
ret
Function at 0x1401038c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [reloc.WS2_32.dll_accept], 0
mov rbx, rcx
je 0x1401039ee
call fcn.14015f320
test eax, eax
je 0x1401039ee
mov rcx, qword [rbx + 0x228]
call fcn.1400e8410
mov rcx, rbx
call fcn.140100d60
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401039ee
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbx
call fcn.1400f6780
test rax, rax
je 0x14010392a
mov rdx, rax
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rbx
call fcn.1400f6ac0
test rax, rax
mov rbx, rax
je 0x140103966
mov ax, word [0x14020e470]
test ax, ax
jne 0x14010395a
lea rcx, str.Shell_IDList_Array
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov word [0x14020e470], ax
movzx ecx, ax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetClipboardData]
mov edx, 4
lea ecx, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1401039e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1401039df
mov rcx, rbx
mov dword [rax], 5
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1401039df
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401039df
mov ax, word [0x14020e478]
test ax, ax
jne 0x1401039c7
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov word [0x14020e478], ax
movzx ecx, ax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetClipboardData]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x20
pop rbx
ret

Function at 0x140103ad0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x30]
lea rcx, [0x1400f6600]
mov qword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140103b08
call fcn.140101830
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14010e8e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
mov rdi, rcx
lea r8, [rsp + 0x30]
mov r9d, 0x104
mov edx, 0x21
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14010e953
movzx eax, word [rsp + 0x30]
sub eax, 0x30
je 0x14010e93d
cmp eax, 2
jne 0x14010e953
movzx eax, word [rbx + 6]
movzx r8d, word [rbx]
jmp 0x14010e95b
movzx eax, word [rbx]
movzx r9d, word [rbx + 6]
movzx r8d, word [rbx + 2]
lea rdx, str._02d__d__d
jmp 0x14010e967
movzx eax, word [rbx]
movzx r8d, word [rbx + 6]
movzx r9d, word [rbx + 2]
lea rdx, str._d__02d__d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140178bf0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret