joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002fbb0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x10002fc62
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x10002fc7f
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x10002fc7f
sub dx, 0x20
je 0x10002fc58
sub dx, 0x80
je 0x10002fc58
sub dx, 0x1f62
jb 0x10002fc7f
sub dx, 1
jbe 0x10002fc58
sub dx, 6
je 0x10002fc58
sub dx, 0x26
jne 0x10002fc7f
nop
jmp 0x10002fc58
cmp eax, dword [rbp - 0x2c]
jg 0x10002fc00
nop dword [rax]
jmp 0x10002fc7f
cmp dword [rbp - 0x28], 2
jne 0x10002fc72
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x10002fc7f
movzx ecx, byte [rbp - 0x18]
call fcn.10000c010
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10002fcfc
sub ax, 0x21
je 0x10002fd10
sub ax, 0x17
je 0x10002fd1c
sub ax, 0x222
je 0x10002fd28
sub ax, 0x392
je 0x10002fd30
sub ax, 1
je 0x10002fd38
sub ax, 0x1996
je 0x10002fd40
sub ax, 1
je 0x10002fd48
sub ax, 6
je 0x10002fd50
sub ax, 0xb
je 0x10002fd60
sub ax, 0x1b
je 0x10002fd58
sub ax, 0x367
je 0x10002fd68
jmp 0x10002fd70
movzx ecx, word [rbp - 0x30]
call fcn.10000c0c0
mov byte [rbp - 0x1c], al
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2e
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2c
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x20
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x2d
jmp 0x10002fd78
mov byte [rbp - 0x1c], 0x27
jmp 0x10002fd78
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000619b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x1004a76f0]
lea rcx, [rbp - 0x278]
call fcn.10000fd00
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x1000619ff
lea rcx, [0x10057f460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x100061a42
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x100061a1d
clc
jmp 0x100061a24
bt dword [0x1004a6928], eax
jb 0x100061a3a
mov rcx, rbp
call fcn.100061af0
test al, al
je 0x100061a3a
mov dil, 1
jmp 0x100061ac0
xor dil, dil
jmp 0x100061ac0
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1001e65e0]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x100061ac0
and esi, 0x400
je 0x100061ac0
lea rbx, [rbp - 0x278]
lea rdx, [0x1004a76f0]
mov rcx, rbx
call fcn.10000fde0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.1000615e0
test eax, eax
je 0x100061a9c
sub eax, 1
je 0x100061ab4
jmp 0x100061abc
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.1000619b0
mov dil, al
jmp 0x100061ac0
mov dil, 1
jmp 0x100061ac0
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.100061980
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100061d40
Capabilities:
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x100061d51
lea rcx, [0x10057f460]
call sub.kernel32.dll_GetFileAttributesW
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x100061e20
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x100061ea1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000c4a0
cmp ebx, 1
jle 0x100061e90
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000baf0
jmp 0x100061eac
mov rcx, rsi
mov rdx, r13
call fcn.1000092d0
nop
mov rcx, rbp
call fcn.100061e00
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100062370
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100580fa0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.1000092d0
mov eax, ebx
lea rdx, [0x100580fe0]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x100062390
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100062444
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009df0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100054ff0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100062444
lea rcx, [0x100062210]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000622c0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100062350
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100062b00
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.100054400
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.1000092d0
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000ac00
mov rcx, rbx
xor edx, edx
call fcn.1000092d0
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100062c45
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100009d40
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100062bac
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000ac00
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a470
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.10000a300
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.100054400
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.10000a020
test rax, rax
jne 0x100062c38
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x100062c1d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.10000a300
jmp 0x100062c4e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x100062b90
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.100062ac0
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100062cc0
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
mov rcx, rbx
xor edx, edx
call fcn.10000bd10
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.10005dcf0
jmp 0x100062dc1
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000bca0
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000c900
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c680
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.10005dcf0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c450
test rax, rax
jne 0x100062dac
mov r9, qword [rbp - 8]
test r9, r9
je 0x100062d90
mov r9, qword [r9 - 8]
movsxd rax, esi
sub r9, rax
movsxd rax, esi
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 8]
call fcn.10000c680
jmp 0x100062dce
mov rcx, r12
call fcn.1000040b0
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x100062d28
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.100062c80
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100062e20
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100581020], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100580e60], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100580e70], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100580e80], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100580e90], eax
lea rdx, [0x100580ea1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100002db0
lea rcx, [rsp + 0x34]
call fcn.100004080
mov byte [0x100580ea0], al
lea rcx, [0x1004a6a58]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100581030], rax
test rax, rax
je 0x100062ec8
mov rcx, qword [0x100581030]
lea rdx, [0x1004a6a68]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100581020], rax
nop
cmp dword [0x100580e70], 6
jae 0x100062edc
mov dword [0x1001e3df0], 0
nop
cmp dword [0x100580e70], 6
jb 0x100062ef8
cmp dword [0x100580e80], 1
jb 0x100062ef8
mov dword [0x1001e3e00], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000ab0f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
mov ecx, eax
mov r8d, 0xffffffff
nop dword [rax + rax]
add r8d, 1
mov edx, ecx
and edx, 1
cmp edx, 1
jne 0x1000ab124
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000ab126
shr ecx, 1
cmp r8d, 7
jl 0x1000ab108
mov edx, eax
lea r9, [0x100581700]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000ab0f8
ret
Function at 0x1000ab150
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, ecx
lea ecx, [r8d - 1]
test ecx, ecx
jl 0x1000ab1a0
mov r8d, 0xffffffff
nop word [rax + rax]
add r8d, 1
mov r9b, al
xor r9b, byte [rdx]
and r9d, 0xff
mov r10d, r9d
and r9d, r9d
mov r11d, eax
shr r11d, 8
lea rbx, [0x100581700]
xor r11d, dword [rbx + r9*4]
mov eax, r11d
add rdx, 1
cmp ecx, r8d
jg 0x1000ab168
nop dword [rax]
pop rbx
ret

Function at 0x1000ace90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x1000acedf
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000acedf
cmp dword [rax + 0x8c], 0
jne 0x1000acedf
mov esi, r14d
jmp 0x1000acfb8
cmp esi, 0xffffffff
jne 0x1000aceef
sub esi, 1
jmp 0x1000acfb8
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000acfb8
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100002db0
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000acf68
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000acf6f
mov word [r12], 0
sub edi, 1
jne 0x1000acf48
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000acfa8
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000acfaf
mov word [r12], 0
sub edi, 1
jne 0x1000acf88
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000ad058
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.1000aca60
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000ad03c
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000ad058
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000acea8
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000cf320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
lea rdx, [rcx + 1]
movzx r8d, byte [rcx]
add r8d, 1
and r8d, 0xff
add rcx, r8
jmp 0x1000cf35b
mov r8d, eax
shl r8d, 5
mov r9d, eax
sub r8d, r9d
movzx r9d, byte [rdx]
xor r8d, r9d
mov eax, r8d
add rdx, 1
cmp rcx, rdx
ja 0x1000cf340
ret
Function at 0x1000dda30
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov rbx, rcx
cmp dword [rbx + 0x24], 0xca
jne 0x1000dda6c
mov rcx, rbx
call fcn.1000e24b0
cmp byte [rbx + 0x50], 0
je 0x1000dda64
mov dword [rbx + 0x24], 0xcf
mov dil, 1
jmp 0x1000ddb2f
mov dword [rbx + 0x24], 0xcb
nop
cmp dword [rbx + 0x24], 0xcb
jne 0x1000ddb0a
mov rax, qword [rbx + 0x208]
cmp byte [rax + 0x20], 0
je 0x1000ddafc
nop word [rax + rax]
cmp qword [rbx + 0x10], 0
je 0x1000ddaa0
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rcx, rbx
mov rax, qword [rbx + 0x208]
call qword [rax]
mov esi, eax
test eax, eax
jne 0x1000ddabc
xor dil, dil
jmp 0x1000ddb2f
cmp esi, 2
je 0x1000ddafa
nop dword [rax]
cmp qword [rbx + 0x10], 0
je 0x1000dda90
cmp esi, 3
je 0x1000ddad5
cmp esi, 1
jne 0x1000dda90
mov rax, qword [rbx + 0x10]
add dword [rax + 8], 1
mov rax, qword [rbx + 0x10]
mov edx, dword [rax + 8]
cmp edx, dword [rax + 0xc]
jl 0x1000dda90
mov rdx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x16c]
add dword [rdx + 0xc], eax
nop
jmp 0x1000dda90
nop
mov eax, dword [rbx + 0x84]
mov dword [rbx + 0x8c], eax
jmp 0x1000ddb24
cmp dword [rbx + 0x24], 0xcc
je 0x1000ddb24
mov r8d, dword [rbx + 0x24]
mov rcx, rbx
mov edx, 0x14
call fcn.1000ddf20
mov rcx, rbx
call fcn.1000ddb40
mov dil, al
mov al, dil
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100108740
Capabilities:
Read clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov byte [rbp - 0x14], 0
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax - 0x10]
call sub.user32.dll_GetClipboardData
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x30], rax
mov rax, qword [rbp - 0x10]
cmp qword [rax - 0x30], 0
jne 0x100108776
jmp 0x1001087dc
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalSize
mov rdx, qword [rbp - 0x10]
mov dword [rdx - 0x3c], eax
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x3c], 0
jg 0x100108796
jmp 0x1001087dc
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalLock
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x38], rax
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax - 0x38]
mov rax, qword [rbp - 0x10]
mov r8d, dword [rax - 0x3c]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
call qword [rax + 0x108]
nop
mov rcx, rbp
call fcn.100108710
mov byte [rbp - 0x14], 1
nop
mov al, byte [rbp - 0x14]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x100109000
Capabilities:
Write clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xf0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 8], edx
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x38], 0
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x10]
mov rdx, qword [rdx]
mov rcx, rax
call qword [rdx + 0xe0]
mov rdx, rax
mov ecx, 2
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x10010905d
jmp 0x100109158
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.10007faf0
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.10007fb50
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x40], rax
call fcn.100080300
mov rbx, rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, str._DataSize
mov r8, qword [rbp - 0x40]
lea rdx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov rcx, rbx
call fcn.100081c80
mov rax, qword [rbp - 0x18]
mov byte [rax - 0x24], 0
jmp 0x1001091a4
mov rcx, qword [rbp - 0x20]
call sub.kernel32.dll_GlobalLock
mov qword [rbp - 0x28], rax
nop
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov r8, rax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0x100]
nop
mov rcx, rbp
call fcn.100108fb0
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rbp - 8]
call sub.user32.dll_SetClipboardData
nop
mov rcx, rbp
call fcn.100108fd0
mov rbx, qword [rbp - 0x50]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1001b78b0
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov rax, rcx
mov rbx, rdx
mov esi, r8d
mov qword [rbp - 8], r9
mov rcx, r9
call fcn.1000092a0
mov rcx, qword [rbp + 0x30]
call fcn.1000092a0
mov qword [rbp - 0x10], 0
nop
cmp esi, 1
jb 0x1001b7990
sub esi, 1
je 0x1001b7914
sub esi, 2
je 0x1001b7954
sub esi, 1
je 0x1001b7928
sub esi, 4
je 0x1001b7968
sub esi, 1
je 0x1001b797c
jmp 0x1001b7990
mov rcx, rbx
lea rdx, str.SELECT__FROM_INFORMATION_SCHEMA.TABLES_WHERE_TABLE_TYPEBASE_TABLE
call fcn.1000092d0
jmp 0x1001b799c
mov rdx, qword [rbp - 8]
mov r8d, 0x27
lea rcx, [rbp - 0x10]
call fcn.100054790
mov r8, qword [rbp - 0x10]
mov rcx, rbx
xor r9d, r9d
lea rdx, str.SELECT__FROM_INFORMATION_SCHEMA.COLUMNS_WHERE_TABLE_NAME
call fcn.1000093f0
jmp 0x1001b799c
mov rcx, rbx
lea rdx, str.SELECT___ROUTINE_NAME_AS_PROCEDURE_NAME_FROM_INFORMATION_SCHEMA.ROUTINES
call fcn.1000092d0
jmp 0x1001b799c
mov rcx, rbx
lea rdx, str.SELECT__FROM_INFORMATION_SCHEMA.SCHEMATA
call fcn.1000092d0
jmp 0x1001b799c
mov rcx, rbx
lea rdx, str.SELECT__FROM_INFORMATION_SCHEMA.SEQUENCES
call fcn.1000092d0
jmp 0x1001b799c
mov rcx, qword [str.The_metadata_is_not_available_for_this_type_of_database.]
call fcn.1001bb320
nop
mov rcx, rbp
call fcn.1001b7880
mov rbx, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x18]
lea rsp, [rbp]
pop rbp
ret
Function at 0x14000c30c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14000c358
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c334
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14000c378
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14000c3c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c398
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000c3dc
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14000c426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c3fc
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000c440
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14000c48c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c468
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret