joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b20f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rax, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x168], rdx
xor esi, esi
test rdx, rdx
je 0x1400b2315
cmp si, word [rdx]
je 0x1400b2315
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b218e
mov edi, esi
mov qword [rsp + 0x170], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, esi
mov r12d, esi
jmp 0x1400b225d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
jne 0x1400b21b8
mov rdi, rsi
mov qword [rsp + 0x170], rsi
test rbx, rbx
je 0x1400b2250
jmp 0x1400b2247
lea ecx, [rax + 1]
lea rdx, [0x14030f110]
call fcn.1402979b4
mov r15, rax
mov r12, rax
test rax, rax
je 0x1400b219f
mov dword [rsp + 0x160], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x160]
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b2224
mov eax, dword [rsp + 0x160]
cmp eax, edi
jne 0x1400b2224
mov byte [rax + r12], 0
mov rdi, r12
mov qword [rsp + 0x170], r12
test rbx, rbx
je 0x1400b2256
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b2256
mov rdi, rsi
mov qword [rsp + 0x170], rsi
mov edx, 1
mov rcx, r15
call fcn.140296f94
mov r15, rsi
mov r12, rsi
test rbx, rbx
je 0x1400b2256
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, rsi
mov r15, rsi
mov rbx, 0xffffffffffffffff
test r12, r12
jne 0x1400b228c
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
test r15, r15
je 0x1400b2284
lea edx, [r12 + 1]
mov rcx, r15
call fcn.140296f94
mov rax, r14
jmp 0x1400b235f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov r8d, 0xfde9
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400916b0
nop
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov rdx, qword [rsp + 0x50]
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400b22c0
mov r8, rbx
mov rcx, r14
call fcn.14002b640
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400b22eb
call fcn.1402ba464
nop
mov edx, 1
mov rcx, r15
call fcn.140296f94
mov rax, r14
jmp 0x1400b235f
mov ecx, 5
call fcn.1400de610
test eax, eax
je 0x1400b234c
lea rax, str.Empty_file_name_was_passed
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, str.McAfee::Script::CFileUtility::ReadFile
lea rdx, str.E:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptCommon_srcFileUtility.cpp
lea ecx, [r9 - 0x51]
call fcn.140028a20
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov rax, r14
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140296f70
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b3100
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov r14, rcx
mov esi, edx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b311e
mov edx, esi
call qword [sym.imp.USER32.dll_KillTimer]
mov rdx, qword [r14 + 0x40]
movabs r9, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx r8d, sil
xor r8, rax
mov eax, esi
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x10
imul r8, r9
xor r8, rcx
movzx ecx, al
imul r8, r9
mov rax, rsi
xor r8, rcx
shr rax, 0x18
mov rcx, qword [r14 + 0x68]
imul r8, r9
xor r8, rax
mov rax, r8
imul rax, r9
and rcx, rax
shl rcx, 4
add rcx, qword [r14 + 0x50]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400b32f8
mov rcx, qword [rcx]
cmp esi, dword [rax + 0x10]
je 0x1400b31a6
cmp rax, rcx
je 0x1400b32f8
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x1400b3194
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400b32f8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], rdi
mov rdi, qword [rax + 0x28]
test rdi, rdi
je 0x1400b31da
lock inc dword [rdi + 8]
mov rdi, qword [rax + 0x28]
mov rdx, qword [r14 + 0x40]
mov rcx, qword [r14 + 0x68]
mov ebp, 0xffffffff
imul r8, r9
mov r9, qword [r14 + 0x50]
and rcx, r8
mov r8, rcx
add r8, r8
mov r10, qword [r9 + r8*8 + 8]
mov rbx, r10
cmp r10, rdx
je 0x1400b32b3
mov rax, qword [r9 + r8*8]
cmp esi, dword [r10 + 0x10]
je 0x1400b3222
nop
cmp rbx, rax
je 0x1400b32b3
mov rbx, qword [rbx + 8]
cmp esi, dword [rbx + 0x10]
jne 0x1400b3210
test rbx, rbx
je 0x1400b32b3
add rcx, rcx
mov rax, qword [r9 + rcx*8]
cmp r10, rbx
jne 0x1400b3252
cmp rax, rbx
jne 0x1400b3247
mov qword [r9 + rcx*8], rdx
mov qword [r9 + r8*8 + 8], rdx
jmp 0x1400b325e
mov rdx, qword [rbx + 8]
mov qword [r9 + r8*8 + 8], rdx
jmp 0x1400b325e
cmp rax, rbx
jne 0x1400b325e
mov rax, qword [rbx]
mov qword [r9 + rcx*8], rax
mov rcx, qword [rbx]
dec qword [r14 + 0x48]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rsi, qword [rbx + 0x28]
test rsi, rsi
je 0x1400b32a6
mov eax, ebp
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400b32a6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebp
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400b32a6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x30
mov rcx, rbx
call fcn.140296f94
mov rbx, qword [rsp + 0x50]
test rdi, rdi
je 0x1400b32e4
mov eax, ebp
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b32e4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebp
cmp ebp, 1
jne 0x1400b32e4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rsp + 0x58]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x1400b3310
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov r10, rcx
movzx r9d, dl
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs r11, 0x100000001b3
imul r9, r11
mov eax, edx
sar eax, 8
movzx r8d, al
xor r9, r8
imul r9, r11
mov eax, edx
sar eax, 0x10
movzx ecx, al
xor r9, rcx
imul r9, r11
mov eax, edx
sar eax, 0x18
movzx ecx, al
xor r9, rcx
imul r9, r11
mov r8, qword [r10 + 0x68]
and r8, r9
shl r8, 4
add r8, qword [r10 + 0x50]
mov rax, qword [r8 + 8]
mov rcx, qword [r10 + 0x40]
cmp rax, rcx
je 0x1400b3497
mov r8, qword [r8]
nop dword [rax]
cmp edx, dword [rax + 0x10]
jne 0x1400b3489
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x1400b3497
movzx ecx, byte [rax + 0x18]
mov byte [rsp + 0x40], cl
mov rbx, qword [rax + 0x28]
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x1400b33cc
lock inc dword [rbx + 8]
mov rbx, qword [rax + 0x28]
mov qword [rsp + 0x70], rbx
mov rdi, qword [rax + 0x20]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x1400b33e8
lock inc dword [rbx + 8]
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
cmp cl, 1
jne 0x1400b3401
mov rax, qword [r10]
mov rcx, r10
call qword [rax + 0x18]
nop
mov rax, qword [rdi]
lea rdx, str.OnTimeout
mov rcx, rdi
call qword [rax + 0x40]
nop
jmp 0x1400b3419
mov edi, 0xffffffff
test rbx, rbx
je 0x1400b344d
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b344d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b344d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rbx, rbx
je 0x1400b3479
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b3479
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b3479
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
cmp rax, r8
je 0x1400b3497
mov rax, qword [rax + 8]
jmp 0x1400b3390
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400bd610
Capabilities:
Convert ip address from string
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov esi, 2
mov rdi, rdx
mov rbx, rcx
mov edx, esi
mov ecx, esi
lea r8d, [rsi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x1400bd664
cmp rcx, 0xffffffffffffffff
je 0x1400bd664
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbx + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x1400bd71c
cmp word [rbx + 8], 0
jne 0x1400bd71c
lea rdx, str.127.0.0.1
mov ecx, esi
lea r8, [rsp + 0x48]
mov qword [rsp + 0x40], rdx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x1400bd6d8
lea ecx, [rax + 5]
call fcn.1400de610
test eax, eax
je 0x1400bd71c
lea rax, [rsp + 0x40]
mov r9d, reloc.WS2_32.dll_getservbyport
mov qword [rsp + 0x28], rax
lea rax, str.Invalid_IP_Address_Format:__hs
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::setServerAddr
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
mov ecx, 5
call fcn.1400308b0
jmp 0x1400bd71c
cmp eax, 0xffffffff
jne 0x1400bd702
lea ecx, [rax + 6]
call fcn.1400de610
test eax, eax
je 0x1400bd71c
lea rax, [rsp + 0x40]
mov r9d, 0x3d
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_set_the_server_address_to__hs
jmp 0x1400bd6b9
mov ecx, 0x202
mov word [rbx + 8], si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0xa], ax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0xc], eax
mov r8d, dword [rdi + 8]
lea rax, [rbx + 8]
mov rdx, qword [rdi]
lea rsi, [rdi + 8]
mov rcx, qword [rbx + 0x38]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1400bd797
lea ecx, [rax + 6]
call fcn.1400de610
test eax, eax
je 0x1400bd793
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov r9d, 0x4d
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::sendBuffer
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.E:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
lea rax, str.Failed_to_send_datagram__Last_Error:_0x_08X
lea ecx, [r9 - 0x48]
mov qword [rsp + 0x20], rax
call fcn.140026f90
xor al, al
jmp 0x1400bd7dd
mov rbx, qword [rsi]
movsxd rdi, eax
mov qword [rsp + 0x48], rdi
cmp rdi, rbx
jae 0x1400bd7db
mov ecx, 1
call fcn.1400de610
test eax, eax
je 0x1400bd7db
lea rax, [rsp + 0x40]
sub rbx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], rbx
call fcn.1400bd800
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140296f70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400be0b4
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x1400be180
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400be180
test rdx, rdx
je 0x1400be168
test r8, r8
je 0x1400be171
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
call qword [0x140373400]
test eax, eax
je 0x1400be178
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, eax
call fcn.1400bdc38
mov qword [rsp + 0x28], rax
lea r8, str.E:BT_a76716fc_23e4_48c9_a49e_4f088d2116acCoreTechMcCryptoLib_srcwindowswin_hmac.cpp
lea rax, str.McCryptoLib::CMcCryptoHMACWin::AddToHash
mov r9d, 0x99
lea rdx, str.__S:__d____S___s:_Error_trying_to_encrypt_data
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.1400cdf64
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
jmp 0x1400be17c
test r8, r8
je 0x1400be0ec
mov eax, 0x8000000a
jmp 0x1400be185
mov byte [rdi + 8], 1
mov eax, ebx
jmp 0x1400be185
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400bf2a0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rax, rdx
mov rbx, rcx
je 0x1400bf2bb
xor al, al
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x20], r8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov qword [rbx + 8], rax
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x1400bf4a0
Capabilities:
Prepare http request

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bf4ee
cmp qword [rbx + 0x18], 0
jne 0x1400bf4ee
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test rax, rax
mov qword [rbx + 0x18], rax
setne al
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret

Function at 0x1400bf500
Capabilities:
Set http header

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400bf514
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x1400bf580
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400bf594
xor al, al
add rsp, 0x28
ret
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x1400bf5b0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400bf5c4
xor al, al
add rsp, 0x38
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
add rsp, 0x38
ret
Function at 0x1400bf5f0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400bf62a
test rdx, rdx
je 0x1400bf62a
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea edx, [r9 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
sete al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x1400bf640
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x30], r8d
test rcx, rcx
je 0x1400bf6a6
test rdx, rdx
je 0x1400bf6a6
test r8d, r8d
je 0x1400bf6a6
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov r9, rdx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x48
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x48
ret

Function at 0x1400bf6c0
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x18]
test rbx, rbx
je 0x1400bf736
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.1402b60e0
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r8 + 0x13]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400bf736
lea rcx, [rsp + 0x40]
call fcn.1402c9a8c
jmp 0x1400bf738
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x150
pop rbx
ret

Function at 0x1400bf790
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
test rcx, rcx
je 0x1400bf82a
test rdx, rdx
je 0x1400bf82a
xorps xmm0, xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
xor r8d, r8d
lea rax, [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x30], 0x7f
movups xmmword [rsp + 0x60], xmm0
lea edx, [r8 + 5]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400bf82a
lea rcx, [rsp + 0x40]
call fcn.1402c9a8c
mov dword [rbx], eax
mov al, 1
jmp 0x1400bf82c
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140296f70
add rsp, 0xd0
pop rbx
ret

Function at 0x1400bf850
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400bf864
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x1400c11e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x1400c1245
mov ecx, 5
call fcn.1400de610
test eax, eax
je 0x1400c1319
lea rax, str.Invalid__empty__parameter:_ignored
mov qword [rsp + 0x20], rax
mov r9d, GetAltMonthNames
lea r8, str.Intel::Analytics::CRESTfulSender::SetParameter
lea rdx, str.E:BT550b508a_48fa_453d_94fa_eec8802a9742ClientAnalyticsSDK_srcRESTfulSenderRESTfulSender.cpp
mov ecx, 5
call fcn.140028a20
jmp 0x1400c1319
lea rcx, [rsp + 0x40]
call fcn.140084ef0
nop
cmp qword [rbx + 0x10], 0
jne 0x1400c12d9
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x50]
lea r8, [rax + rax]
xor ecx, ecx
test r8, r8
je 0x1400c12a3
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400c1290
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.14007eb50
mov r8, qword [rax + 8]
test r8, r8
jne 0x1400c12c3
mov r8, qword [rsi + 0x18]
cmp qword [rsi + 0x18], r8
je 0x1400c130f
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.140084740
jmp 0x1400c130f
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.1400852f0
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, rbx
je 0x1400c130f
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1400c1306
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.14002b640
nop
lea rcx, [rsp + 0x40]
call fcn.14002ce60
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c35c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], rdx
mov rbx, rdx
cmp qword [r8 + 0x18], 8
mov rsi, rcx
mov r10, qword [r8 + 0x10]
mov rdx, r8
jb 0x1400c35e8
mov rdx, qword [r8]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
add r10, r10
je 0x1400c3623
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1400c3610
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 8]
call fcn.14007eb50
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400c363e
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x10]
je 0x1400c3660
add rdx, 0x30
mov rcx, rbx
call fcn.14002db20
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov qword [rbx + 0x10], rbp
mov rax, rbx
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c3680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rbx, rdx
mov r10, qword [r8 + 0x10]
mov rdx, r8
mov rsi, rcx
jb 0x1400c369f
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
add r10, r10
je 0x1400c36d3
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1400c36c0
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x48]
call fcn.14007eb50
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400c36ee
mov rdx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x50]
mov qword [rbx], 0
mov qword [rbx + 8], 0
cmp rdx, rax
je 0x1400c3722
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x1400c3713
lock inc dword [rax + 8]
mov rcx, qword [rdx + 0x30]
mov qword [rbx], rcx
mov rcx, qword [rdx + 0x38]
mov qword [rbx + 8], rcx
mov rax, rbx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c4830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x50], r8
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea r8d, [r14 + 0x18]
lea rdx, str.__record.created.seconds
lea rcx, [rsp + 0x60]
call fcn.14002b640
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x70]
lea r8, [rax + rax]
mov ecx, r14d
test r8, r8
je 0x1400c48e3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400c48d0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.14007eb50
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x1400c4905
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
call fcn.14002ce60
cmp rbx, qword [rdi + 8]
je 0x1400c4982
cmp qword [rbx + 0x40], r14
je 0x1400c4982
call fcn.1402be600
mov rdi, rax
add rbx, 0x30
cmp qword [rbx + 0x18], 8
jb 0x1400c4936
mov rbx, qword [rbx]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x98]
mov rcx, rbx
call fcn.1402c9180
cmp rbx, qword [rsp + 0x98]
je 0x1400c49fb
cmp dword [rdi], 0x22
je 0x1400c4a07
imul rcx, rax, 0x3b9aca00
mov qword [rsi], rcx
mov rax, rsi
jmp 0x1400c49d7
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400ab490
call fcn.1400fdbac
mov rbx, rax
call fcn.1400fdaac
mov rdi, rax
call fcn.1400fda90
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rdx, rcx, 0x3b9aca00
add rdx, rax
mov rax, qword [rsp + 0x50]
sub rax, rbx
imul rcx, rax, 0x64
add rcx, rdx
mov qword [rsi], rcx
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140296f70
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
ret
lea rcx, str.invalid_stoull_argument
call fcn.1400fccac
lea rcx, str.stoull_argument_out_of_range
call fcn.1400fccf4
int3