joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d8580
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x1402dffe0]
movups xmmword [rcx], xmm6
call fcn.140106d70
mov ecx, edi
mov rdx, rsi
call fcn.140063ba0
test al, al
je 0x1401d85f9
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x1401d85e4
mov rax, qword [rsi + 8]
test rax, rax
je 0x1401d85f9
mov rcx, rsi
call fcn.140060d70
test al, al
jne 0x1401d86e6
mov rcx, rsi
call fcn.140106f00
lea r14, [0x140302860]
mov ecx, 3
mov rax, rcx
jmp 0x1401d8628
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x1401d8637
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x1401d8620
jmp 0x1401d8612
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x1401d86de
cmp dword [r14], edi
jg 0x1401d86de
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.140189d00
mov word [rdi - 2], 0
mov rcx, qword [r14 + 8]
lea rdi, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x1401d86de
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140172434
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140106dd0
mov rcx, rsi
call fcn.140072e80
test al, al
je 0x1401d86d6
mov rcx, rsi
call fcn.1401085f0
test al, al
jne 0x1401d86d6
mov rcx, rsi
call fcn.140060d70
test al, al
jne 0x1401d86e6
mov rcx, rsi
call fcn.140106f00
mov rcx, rsi
call fcn.140106d70
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140151210
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401db0b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1403776a0]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x1401db0c3
mov eax, 0x100
lea rcx, [0x1403776a0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x1401db186
lea rax, [0x1401503e0]
mov qword [0x1403796a0], rax
mov qword [0x140377698], rax
lea rsi, [0x1401502f0]
mov qword [0x1403796a8], rsi
call fcn.14024e1b0
test eax, eax
jne 0x1401db1d9
mov qword [0x140377698], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1401df0e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140379700]
test rax, rax
jne 0x1401df124
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140379700]
test rax, rax
je 0x1401df111
cmp eax, 2
je 0x1401df1c2
mov eax, 1
lock xadd qword [0x140379738], rax
inc rax
cmp rax, 2
jl 0x1401df151
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1403796c0], eax
mov qword [0x1403796b8], rsi
mov rcx, qword [0x140365c90]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140106140
test al, al
je 0x1401df20f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x1401df202
mov ecx, 2
call fcn.140106140
test al, al
je 0x1401df20f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400e59c0
mov rcx, rsi
call fcn.14006fb80
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140151210
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1402187e0
Capabilities:
Initialize winhttp library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x158
mov r10d, r8d
mov rsi, rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [0x140363040]
xor rcx, rsp
mov qword [rsp + 0x150], rcx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rcx
movaps xmm0, xmmword [0x1402dffe0]
movups xmmword [rsi], xmm0
cmp qword [rax + 8], 0
je 0x1402189ae
mov rax, qword [rax]
cmp qword [r9 + 8], 0
je 0x1402189a6
mov r8, qword [r9]
mov rcx, qword [rdx]
mov dword [rsp + 0x20], 0x10000000
mov edx, r10d
mov r9, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
lea rax, [0x1402e43b8]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x140218986
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.140189d00
mov dword [rbx - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
movabs rcx, 0x100000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140218986
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.140189d00
mov dword [rbx - 0xc], 0x11c
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
movabs rcx, 0x300000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x140218986
lea r8, [rsp + 0x34]
mov dword [r8], 0xa80
mov rcx, rdi
mov edx, 0x54
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140151210
mov rax, rsi
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r8d, r8d
jmp 0x140218840
xor eax, eax
jmp 0x140218832
Function at 0x14021a1d0
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
movsx rax, byte [rcx + 0x10f]
test rax, rax
js 0x14021a2a9
lea rcx, [rdi + 0xf8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rcx, rcx
jne 0x14021a224
test rax, rax
jne 0x14021a2dd
shl ebp, 0x17
or ebp, 0x100
lea rbx, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400b2c80
cmp byte [rbx + 0x17], 0
jns 0x14021a24a
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, [0x1402e43b8]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x14021a290
mov rcx, qword [rsp + 0x48]
call fcn.14014fcd8
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140151210
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdi + 0xf8]
mov rax, qword [rdi + 0x100]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rax, rax
jns 0x14021a216
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14018e880
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14018e880
int3

Function at 0x14021b280
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x20
cmp qword [rcx + 0x40], 0
je 0x14021b2d3
mov rsi, rcx
add rcx, 0x160
mov edx, 0x4000
call fcn.14003aee0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x14021b2e0
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor esi, esi
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14021b2d8
add rsp, 0x20
pop rsi
jmp fcn.14025a520
mov esi, 0x800704c7
mov eax, esi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_vector:614:_assertion__empty___failed:_front___called_on_an_empty_vector_n
call fcn.14018e880
int3
Function at 0x14021c2e0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140189d00
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14021c36f
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140172434
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140106dd0
mov rcx, rsi
mov rdx, rbx
call fcn.1400716d0
mov rcx, rbx
call fcn.140106f00
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140151210
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14021c8a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x14021c934
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.14021e410
test al, al
jne 0x14021c8fc
add rdi, 0x70
cmp rdi, r12
jne 0x14021c8e1
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x14021c934
cmp byte [rdi + 0x27], 0
js 0x14021c90e
lea rcx, [rdi + 0x10]
jmp 0x14021c912
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x14021c934
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140151210
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14021cac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x14021cb3b
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.14021e410
test al, al
jne 0x14021cb20
add r14, 0x70
cmp r14, r12
jne 0x14021cb05
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x14021cb3b
mov eax, dword [r14 + 0x68]
cmp eax, ebp
je 0x14021cb59
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140151210
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [r14 + 0x27], 0
js 0x14021cb66
lea rcx, [r14 + 0x10]
jmp 0x14021cb6a
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14021cb3b
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14021cb3b
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14021cb3b
Function at 0x14022c290
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x1402309a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd r8, dword [rcx + 0x108]
lea ecx, [rdx + 4]
mov r11d, ecx
shr r11d, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x1402309ff
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140230a1b
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14d, ecx
shr r14d, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x140230a45
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140230a66
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov r11d, edx
shr r11d, 6
xor r10d, r10d
cmp r11, r8
jae 0x140230a88
mov ecx, edx
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x140230aae
dec edx
mov r10d, edx
shr r10d, 6
xor ecx, ecx
cmp r10, r8
jae 0x140230aac
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14d, 5
mov ecx, r14d
dec ecx
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov eax, r15d
shr eax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.140189d00
mov r8, r12
xor r8, r15
dec r8
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.14022d890
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x140230aea
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x1402dffe0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
movsxd rcx, dword [rdi + 0x148]
test rcx, rcx
jle 0x140230bb8
xor eax, eax
xor edx, edx
or rdx, qword [rsi + rax*8]
inc rax
cmp rcx, rax
jne 0x140230b58
test rdx, rdx
sete dl
test ecx, ecx
je 0x140230c08
mov rax, qword [rdi + 0x140]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x140230b90
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x140230b90
sbb r10, r10
movsxd rax, dword [rdi + 0x148]
test rax, rax
jle 0x140230bd7
xor ecx, ecx
jmp 0x140230bcc
mov dl, 1
jmp 0x140230b6a
xor r8d, r8d
mov qword [rsp + rcx*8 + 0x30], r8
inc rcx
cmp rax, rcx
je 0x140230bd7
test dl, dl
jne 0x140230bbc
mov r8, qword [rsp + rcx*8 + 0x30]
jmp 0x140230bbf
test eax, eax
je 0x140230c08
and r14d, 1
neg r14
mov rcx, r14
not rcx
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, r14
mov r9, qword [rsi + rdx*8]
and r9, rcx
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x140230bea
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140151210
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1402347c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 1
call fcn.140110ba0
bt eax, 0x1c
jae 0x140234802
xor ecx, ecx
call fcn.140110ba0
bt eax, 0x1e
jae 0x140234802
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140017280
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140016040
Function at 0x140254860
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14037d630]
mov ecx, dword [0x140374080]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140254adc
mov rax, qword [0x14037d628]
test rax, rax
je 0x14025494b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x140352210]
test eax, eax
je 0x1402548f5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140254952
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140254987
mov ecx, 2
call fcn.140106140
test al, al
je 0x14025494b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4c
mov r9d, 2
call fcn.1401c3e40
lea rcx, [rsp + 0x40]
lea rdx, [0x14030e0e0]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400e59c0
mov rcx, rbx
call fcn.1401c3ec0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402dffe0]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.140254b30
test al, al
jne 0x140254a0f
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402549f0
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21f
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400e59c0
mov rcx, rsi
call fcn.14006fb80
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140151210
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x140254a29
call fcn.1402553e0
jmp 0x140254a2e
call fcn.140254d70
test al, al
jne 0x140254a77
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402549f0
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x228
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1402549e3
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140253dd0
mov sil, 1
test al, al
jne 0x1402549f2
mov ecx, 2
call fcn.140106140
test al, al
je 0x1402549f0
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22d
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1402549e3
lea rcx, [0x14037d630]
call fcn.14014fd1c
cmp dword [0x14037d630], 0xffffffff
jne 0x1402548ab
lea rcx, [0x1402f1584]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400b27d0
mov qword [0x14037d628], rax
lea rcx, [0x14037d630]
call fcn.14014fdd0
jmp 0x1402548ab
Function at 0x14025a550
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, r9
mov rbx, r8
mov ebp, edx
mov r14, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea r12, [rsp + 0x84]
mov dword [r12], 0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
cmovne r15d, ecx
cmp r15d, 0x8007007a
je 0x14025a5f1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140151210
mov eax, r15d
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402dffe0]
movaps xmmword [rdi], xmm0
mov edx, dword [rsp + 0x84]
shr edx, 1
mov rcx, rdi
call fcn.140193210
mov r9, qword [rdi]
cmp r9, qword [rdi + 8]
je 0x14025a6b4
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov rcx, r14
mov edx, ebp
mov r8, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14025a67c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
cmovne r15d, ecx
lea rcx, [rsp + 0x38]
mov qword [rcx], rdi
call fcn.1400e8d60
jmp 0x14025a5cc
mov edx, dword [rsp + 0x84]
test dl, 1
jne 0x14025a6c7
shr edx, 1
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.140035b30
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov r9, r8
sub r9, rdx
sar r9, 1
mov rcx, rsi
call fcn.14025a950
xor r15d, r15d
jmp 0x14025a66a
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_vector:614:_assertion__empty___failed:_front___called_on_an_empty_vector_n
call fcn.14018e880
lea rdx, str.QueryHeadersString
lea r8, str.....componentswinhttp_net_util.cc
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov r9d, 0x28
call fcn.1401063f0
lea rdx, str.num_bytes___sizeof_wchar_t___0
lea r14, [rsp + 0x58]
mov rcx, r14
mov r8, rbx
call fcn.1401c65c0
mov rcx, r14
call fcn.1401c67c0
mov edx, dword [rsp + 0x84]
jmp 0x14025a688

Function at 0x14025a720
Capabilities:
Read http header

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x38], rax
or edx, 0x20000000
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
test eax, eax
jne 0x14025a77b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
cmovne esi, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140151210
mov eax, esi
add rsp, 0x40
pop rsi
ret