joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040780
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rbp
mov r8d, ebx
mov qword [rsp + 0x28], rbp
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x78], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.1400f7cd0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x80]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x14004080c
mov dword [rsp + 0x40], 0x2746
jmp 0x14004081c
cmp ecx, 0x4d2
jne 0x14004082e
mov dword [rsp + 0x40], 0x274d
call fcn.1400f7cd0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
test edi, edi
je 0x140040839
mov eax, 0xffffffff
jmp 0x140040853
mov dword [rsp + 0x40], ebp
call fcn.1400f7cd0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x78]
movups xmmword [rbx], xmm0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140040940
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov r14, r8
mov rdi, rdx
mov r15, rcx
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rbx, [rcx + 0x90]
mov ebp, 4
mov r8, qword [rbx + 8]
test r8, r8
je 0x1400409b6
xor edx, edx
mov rax, rdi
div r8
shl rdx, 4
mov rcx, qword [rbx]
add rcx, rdx
mov rax, qword [rcx]
mov rdx, qword [rbx - 0x20]
cmp rax, rdx
je 0x1400409ba
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400409b6
cmp qword [rax + 0x10], rdi
je 0x140040ae0
mov rax, qword [rax]
cmp rax, rcx
jne 0x1400409a4
mov rdx, qword [rbx - 0x20]
lea rcx, [rbx - 0x28]
mov r9, r14
lea r8, [rsp + 0x40]
call fcn.14004fb30
test al, al
jne 0x1400409d4
test sil, sil
je 0x1400409d7
mov sil, 1
add rbx, 0x38
sub rbp, 1
jne 0x140040971
lea rdx, [rsp + 0x40]
mov rcx, qword [r15 + 0x28]
call fcn.14002b1f0
test sil, sil
je 0x140040a7d
mov byte [rsp + 0x90], bpl
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 1
call fcn.1400f7cd0
mov rbx, qword [r15 + 0x60]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0xa8], ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0xa8]
lea r8d, [rbp + 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.1400f7cd0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x140040a6e
cmp eax, 0x4d2
jne 0x140040a73
call fcn.1400f7cd0
test ebx, ebx
jne 0x140040a7d
call fcn.1400f7cd0
nop
mov rsi, qword [rsp + 0x40]
mov rdi, rsi
test rsi, rsi
je 0x140040acc
mov rax, rsi
nop dword [rax]
mov rbx, rax
test rax, rax
je 0x140040aa3
mov rbx, qword [rsi + 0x20]
mov rsi, rbx
mov qword [rax + 0x20], rbp
mov dword [rsp + 0x50], ebp
call fcn.1400f7cd0
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
xor ecx, ecx
call qword [rdi + 0x28]
mov rax, rbx
mov rdi, rbx
test rbx, rbx
jne 0x140040a90
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, rax
jmp 0x1400409ba
Function at 0x140040af0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13d, r9d
mov rsi, r8
mov rdi, rdx
cmp qword [r8], 0xffffffffffffffff
je 0x140040b3e
mov dword [rbp - 0x10], 1
call fcn.14002b180
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x70]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
movups xmmword [rdi], xmm0
jmp 0x140040cc0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x68]
mov r12d, dword [rbp + 0x60]
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r15, rax
call fcn.1400f7cd0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x10], eax
mov qword [rbp - 8], rbx
mov r14, qword [rbp + 0x70]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r14], xmm0
cmp r15, 0xffffffffffffffff
jne 0x140040b9c
xor r13d, r13d
jmp 0x140040be0
cmp r13d, 0x17
jne 0x140040bc8
xor r13d, r13d
mov dword [rbp + 0x50], r13d
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x50]
lea edx, [r13 + 0x29]
lea r8d, [r13 + 0x1b]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x140040bcb
xor r13d, r13d
mov dword [rbp - 0x10], r13d
call fcn.1400f7cd0
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r14], xmm0
cmp r15, 0xffffffffffffffff
jne 0x140040bef
movups xmm0, xmmword [r14]
jmp 0x140040cbd
mov rdx, qword [rbp + 0x40]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x140040c21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400f7cd0
mov dword [rbp - 0x10], ebx
jmp 0x140040c2a
mov dword [rbp - 0x10], r13d
call fcn.1400f7cd0
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r14], xmm0
lea rcx, [fcn.140029a90]
cmp dword [r14], 0
cmove rcx, r13
test rcx, rcx
je 0x140040c73
movups xmmword [rdi], xmm0
mov dword [rbp - 0x10], r13d
call fcn.1400f7cd0
mov qword [rbp - 8], rax
mov byte [rbp + 0x50], 0
lea r9, [rbp - 0x10]
mov r8b, 1
lea rdx, [rbp + 0x50]
mov rcx, r15
call fcn.140040140
jmp 0x140040cc0
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rsi], r15
sub r12d, 1
je 0x140040c96
cmp r12d, 1
je 0x140040c90
mov byte [rsi + 8], 0
jmp 0x140040c9a
mov byte [rsi + 8], 0x20
jmp 0x140040c9a
mov byte [rsi + 8], reloc.WS2_32.dll_recv
lea rcx, [rsi + 0x10]
movzx r8d, byte [rbp + 0x50]
call fcn.140050f40
mov dword [rbp - 0x10], r13d
call fcn.1400f7cd0
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r14], xmm0
movups xmmword [rdi], xmm0
mov rax, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [rcx + 0x18]
mov dword [rsp + 0x20], 0
call fcn.1400f7cd0
mov qword [rsp + 0x28], rax
mov rbx, qword [rbx + 0x10]
xor eax, eax
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x140051e26
mov ecx, 1
mov eax, ecx
xchg dword [rbx + 0x34], eax
test eax, eax
jne 0x140051e04
xchg dword [rbx + 0x38], ecx
test ecx, ecx
jne 0x140051e04
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140051e04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x30], eax
call fcn.1400f7cd0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140051ebe
mov dword [rsp + 0x30], 0
call fcn.1400f7cd0
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
jmp 0x140051ea6
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1403dbb34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1403dbb34]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14003fb40
test rax, rax
je 0x140051e85
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14003fb40
test rax, rax
jne 0x140051e73
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1403dbb34]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140051ea6
call fcn.14022a0d0
cmp dword [rsp + 0x20], 0
jne 0x140051eb3
add rsp, 0x60
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.14003f330
int3
lea rdx, str.pqcs
lea rcx, [rsp + 0x30]
call fcn.14002b060
int3
Function at 0x140068570
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14023e1f0]
lea rcx, [rsp + 0x30]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
movsxd rdi, eax
test eax, eax
jne 0x1400686c0
xor r9d, r9d
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call sub.bcrypt.dll_BCryptGenRandom
movsxd rdi, eax
test eax, eax
jne 0x14006865e
movzx eax, byte [rsp + 0xb8]
and al, 0x3f
or al, 0x80
mov byte [rsp + 0xb8], al
movzx eax, byte [rsp + 0xb6]
and al, 0xf
or al, 0x40
mov byte [rsp + 0xb6], al
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xb0], xmm0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006862a
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call fcn.14006a070
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140229810
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret
lea rdx, [0x14023e388]
lea rcx, [rsp + 0xe0]
call fcn.140054910
nop
mov rdx, rdi
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x88]
call fcn.140067950
mov rbx, rax
mov dword [rsp + 0x20], 0
lea r9, str.void___cdecl_boost::uuids::detail::random_provider_base::get_random_bytes_void__unsigned___int64_
mov r8d, 0x58
lea rdx, str.C:jslavews_release_release_11.2CEP_resources_adobe_boost_libraries_boostuuiddetail_random_provider_bcrypt.ipp
lea rcx, [rsp + 0x50]
call fcn.1400679b0
mov rdx, rax
mov rcx, rbx
call fcn.140067570
nop
lea rdx, [0x14023e2f8]
lea rcx, [rsp + 0xc0]
call fcn.140054910
nop
mov rdx, rdi
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.140067950
mov rbx, rax
mov dword [rsp + 0x20], 0
lea r9, str.__cdecl_boost::uuids::detail::random_provider_base::random_provider_base_void_
mov r8d, 0x34
lea rdx, str.C:jslavews_release_release_11.2CEP_resources_adobe_boost_libraries_boostuuiddetail_random_provider_bcrypt.ipp
lea rcx, [rsp + 0x38]
call fcn.1400679b0
mov rdx, rax
mov rcx, rbx
call fcn.140067570
int3
Function at 0x14006aa60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rbx, rdx
mov rdx, r8
mov rdi, rcx
jb 0x14006aa7d
mov rdx, qword [r8]
mov r11, qword [r8 + 0x10]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14006aab4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x14006aaa0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14006a200
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006aadb
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14006b2c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14006b2e5
cvtsi2ss xmm0, rdx
jmp 0x14006b2fa
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x14023ea1c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14006b328
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006b328
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006b35a
cmp rbx, 0x200
jae 0x14006b357
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14006b35a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006b040
Function at 0x14007d3e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x1fe
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007d5da
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007d5da
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14007d4a4
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140082e10
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
lea rsi, [rdx + rax*2]
lea rdi, [rsp + 0x68]
cmovae rdi, qword [rsp + 0x68]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
mov rdx, rsi
sub rdx, rdi
sar rdx, 1
lea rcx, [rsp + 0x48]
call fcn.1400395c0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp rdi, rsi
je 0x14007d570
nop word [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jae 0x14007d556
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x48]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14007d567
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400670f0
add rdi, 2
cmp rdi, rsi
jne 0x14007d520
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14007d5e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d5d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d5d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
jmp 0x14007d5e9
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140229810
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14008c5e0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x48], esi
mov ebx, dword [rcx + 0x130]
test ebx, ebx
je 0x14008c6b6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
lea r8d, [rsi + 1]
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x14008c682
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x14008c6b6
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax]
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14008c669
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor r8d, r8d
mov edx, dword [rdi + 0x130]
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14008c6b6
call fcn.1402178d0
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, str.CefController_AttachThreadInput_failed.
call fcn.1402196d0
nop
test rbx, rbx
je 0x14008c6ab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
jmp 0x14008c6b6
cmp byte [rdi + 0x199], 0
je 0x14008c6fb
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x14008c6fb
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax]
nop
mov esi, 1
mov dword [rsp + 0x48], esi
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14008c6fb
movzx ebx, sil
jmp 0x14008c6fd
xor bl, bl
test sil, 1
je 0x14008c723
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14008c723
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
test bl, bl
je 0x14008c7ff
cmp byte [rdi + 0x198], 0
je 0x14008c746
mov ecx, 2
call qword [sym.imp.USER32.dll_LockSetForegroundWindow]
mov byte [rdi + 0x198], 0
call fcn.1402178d0
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rcx, str.TEST_LOADEXTENSION_PERFORMANCE__CEPHTMLENGINE__show_browser_window.
call fcn.140219360
nop
test rbx, rbx
je 0x14008c76f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
jmp 0x14008c776
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14008c7c0
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x140]
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14008c7ff
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x140095910
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.140095960
xor eax, eax
lea r8, [0x140095560]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14009595a
mov edx, 0xfffffffe
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
add rsp, 0x30
pop rbx
ret
Function at 0x140098310
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 3
cmp rax, 1
jne 0x1400984d0
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x1400984d0
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + 0x98]
nop
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14009839d
mov r8, qword [rdx + 8]
test r8, r8
je 0x14009839d
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
lea rcx, [rbp - 0x28]
call fcn.140082e10
jmp 0x1400983af
xor ebx, ebx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400983e4
cmp byte [rbp - 0x30], 0
je 0x1400983dc
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x38]
call fcn.140229774
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x30], 0
lea rcx, [rbp - 0x28]
call fcn.140097290
lea rcx, [rbp - 0x28]
cmp rcx, rax
je 0x140098410
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140098403
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140082e10
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x14009841e
lea ebx, [rcx + 2]
jmp 0x140098489
lea rax, [rbp - 0x28]
mov rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
cmp r8, 8
cmovae rax, rdx
lea rcx, [rax + rcx*2]
lea rax, [rbp - 0x28]
cmovae rax, rdx
cmp rax, rcx
je 0x140098462
mov edx, 0x5c
cmp word [rax], 0x2f
jne 0x140098451
mov word [rax], dx
add rax, 2
cmp rax, rcx
jne 0x140098448
mov r8, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
cmp r8, 8
cmovae rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140098489
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dl, 1
call fcn.1400974e0
mov ebx, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400984cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400984c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400984c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov eax, ebx
jmp 0x1400984d5
mov eax, 2
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140229810
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x140099460
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 3
cmp rax, 1
jne 0x1400995fb
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x1400995fb
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x98]
nop
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400994ec
mov r8, qword [rdx + 8]
test r8, r8
je 0x1400994ec
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
lea rcx, [rsp + 0x38]
call fcn.140082e10
jmp 0x140099501
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14009953c
cmp byte [rsp + 0x30], 0
je 0x140099532
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rsp + 0x28]
call fcn.140229774
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.140097290
lea rcx, [rsp + 0x38]
cmp rcx, rax
je 0x14009956b
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14009955d
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140082e10
cmp qword [rsp + 0x48], 0
jne 0x14009957a
mov ebx, 2
jmp 0x1400995a1
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dl, 1
mov ecx, eax
call fcn.1400974e0
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400995e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400995e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400995e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140229810
add rsp, 0x60
pop rbx
ret
mov eax, 2
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140229810
add rsp, 0x60
pop rbx
ret