joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004a7b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rsp + 0x58]
mov rbx, r9
mov edi, dword [rsp + 0x60]
mov ecx, r8d
mov eax, dword [rsp + 0x50]
xor ecx, 0x727c
sub eax, 0xffffff80
lea edx, [rdi + 0x6c8]
cmp ecx, eax
jle 0x18004a81d
lea eax, [r8 + 0x3ec]
cmp edx, eax
jle 0x18004a80b
mov eax, 0x403d9
sub eax, dword [r9 + 0xd4]
add dword [r9 + 0x64], eax
lea rax, [0x180051350]
mov qword [r9 + 0x88], rax
jmp 0x18004a81d
mov ecx, dword [r9 + 0x10c]
mov eax, edx
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r10d, r10d
mov edx, dword [rbx + 0x154]
mov eax, dword [rbx + 0x90]
add eax, 0xa0efc
xor dword [rbx + 0x48], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x15c]
mov eax, dword [rbx + 0x114]
add ecx, 0xfffffff8
add edx, ecx
imul eax, edx
mov dword [rbx + 0x114], eax
mov rax, qword [rbx + 0x88]
mov r9d, dword [r10 + rax]
add r10, 4
mov eax, dword [0x18018d108]
or dword [0x18018d15c], eax
imul r9d, dword [rbx + 0x64]
mov eax, dword [0x18018d07c]
dec eax
or dword [rbx + 0x154], eax
mov eax, dword [rbx + 0x98]
mov rcx, qword [section..data]
dec eax
mov edx, r9d
mov r8d, r9d
shr edx, 0x18
shr r8d, 0x10
or dword [rcx + 0xf8], eax
mov eax, 0x3a3879e9
sub eax, dword [rbx + 0x48]
add dword [0x18018d15c], eax
movsxd rcx, dword [0x18018d078]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], dl
mov eax, dword [0x18018d078]
inc eax
mov dword [0x18018d078], eax
movsxd rdx, eax
mov rax, qword [section..data]
mov rcx, qword [rax + 0xa8]
mov byte [rdx + rcx], r8b
mov edx, r9d
inc dword [0x18018d078]
mov eax, dword [rbx + 0x10]
mov ecx, dword [rbx + 0x24]
add ecx, dword [0x18018d0d4]
xor ecx, 0xaf42d
shr edx, 8
imul eax, ecx
mov dword [rbx + 0x10], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 8]
add eax, dword [0x18018d0b4]
xor eax, 0xcadcc
sub dword [rcx + 0x24], eax
mov eax, dword [rbx + 0x10]
mov ecx, dword [rbx + 0xfc]
add eax, eax
sub eax, dword [rbx + 0x15c]
mov dword [rbx + 0x10], eax
mov eax, dword [0x18018d0b4]
add eax, 0xfffffff1
add ecx, eax
mov dword [0x18018d0b4], ecx
movsxd rcx, dword [rbx + 0x68]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], dl
inc dword [rbx + 0x68]
movsxd rcx, dword [0x18018d078]
mov rax, qword [0x18018d0b8]
mov byte [rcx + rax], r9b
inc dword [0x18018d078]
cmp r10, 0x181f8
jl 0x18004a820
lea eax, [rdi + 0x47a]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005440]
mov dword [rax], 1
mov rax, qword [0x140005450]
mov dword [rax], 1
mov rax, qword [0x140005460]
mov dword [rax], 1
mov rax, qword [0x1400053e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400016d0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rcx, r8
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov rsi, rax
mov dword [rsp + 0x54], 0
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov edx, 6
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [rsp + 0x58]
xor edx, edx
lea r9, [0x140007600]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0x140005850]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edx, dword [rsp + 0x4c]
test edx, edx
jle 0x14000182b
mov r13, qword [sym.imp.KERNEL32.DLL_GetPackagesByPackageFamily]
xor ebx, ebx
lea r15, [rsp + 0x54]
lea r14, [rsp + 0x50]
jmp 0x14000177e
add rbx, 1
cmp dword [rsp + 0x4c], ebx
jle 0x14000182b
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + rbx*8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsi + rbx*8]
xor r8d, r8d
mov r9, r15
mov qword [rsp + 0x20], 0
mov rdx, r14
call r13
cmp eax, 0x7a
jne 0x140001770
mov r8d, dword [rsp + 0x50]
mov edx, 8
mov rcx, rbp
shl r8, 3
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov r8d, dword [rsp + 0x54]
mov edx, 8
mov rcx, rbp
mov rdi, rax
add r8, r8
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rcx, qword [rsi + rbx*8]
mov r9, r15
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, r14
mov qword [rsp + 0x20], rax
call r13
test eax, eax
je 0x140001868
mov r8, rdi
xor edx, edx
mov rcx, rbp
add rbx, 1
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_HeapFree]
cmp dword [rsp + 0x4c], ebx
jg 0x14000177e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LocalFree]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400017ff
xor r12d, r12d
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rdi + r12*8]
xor r9d, r9d
xor r8d, r8d
add r12, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp r12d, dword [rsp + 0x50]
jb 0x140001878
jmp 0x1400017ff

Function at 0x140001d10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400030e0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400030e0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1400029e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000c168]
test eax, eax
je 0x140002a7a
lea rax, [0x14000c140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call rax
mov rax, qword [0x14000c170]
mov qword [rbp - 8], rax
jmp 0x140002a5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rax
test eax, eax
jne 0x140002a52
cmp qword [rbp - 0x10], 0
je 0x140002a52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002a18
lea rax, [0x14000c140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call rax
jmp 0x140002a7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002b80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002ba8
mov eax, 0
jmp 0x140002bf6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002bd1
mov eax, 0
jmp 0x140002bf6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002bf1
mov eax, 0
jmp 0x140002bf6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140002bfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140002c7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002c71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140002c71
mov rax, qword [rbp - 8]
jmp 0x140002c8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140002c44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001c40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor edi, edi
mov bl, 0x43
nop dword [rax]
movsx eax, bl
lea rdx, [0x14000c50c]
xorps xmm0, xmm0
movzx eax, al
movups xmmword [rsp + 0x20], xmm0
mov r8d, 2
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x21], dil
call fcn.140002590
mov qword [rsp + 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140001d1f
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d1a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001da9
call fcn.140009d3c
cmp qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 1
ja 0x140001d48
lea rcx, [rsp + 0x40]
call fcn.140001580
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001d81
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d7c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001db0
call fcn.140009d3c
inc bl
cmp bl, 0x5a
jle 0x140001c70
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140009ce0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140002124
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140002110
ret
Function at 0x140007240
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140007305
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140007305
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000731e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400072f5
cmp byte [rcx], 0x5c
jne 0x1400072ee
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1400072ee
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400072dc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400072eb
test r8b, 0x10
jne 0x1400072ee
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1400072ee
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140003940
test edi, edi
jne 0x140007260
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140003930
int3

Function at 0x14000a9dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000aa26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000aa26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000aa26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000aa26
cmp dword [rcx + 0x84], 0xe
jbe 0x14000aa26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000aa28
xor al, al
add rsp, 0x28
ret
Function at 0x140001388
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp byte [0x1400415b8], 0
jne 0x1400013f6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x14000d108
mov byte [0x1400417c2], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x20]
call fcn.140001408
test al, al
je 0x1400013fe
call fcn.1400017cc
mov ebx, eax
test eax, eax
jne 0x14000d127
call fcn.140001670
jmp 0x14000d127
or ebx, 0xffffffff
jmp 0x14000d141
mov ebx, dword [rsp + 0x20]
jmp 0x14000d132
cmp eax, 0x80010106
jne 0x14000d141
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400013c6
jmp 0x14000d141
test ebx, ebx
js 0x14000d132
call fcn.1400128d0
mov ebx, eax
cmp byte [0x1400417c2], 0
je 0x14000d141
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400016c4
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rbx, rcx
xor esi, esi
mov qword [rcx], rsi
mov byte [rcx + 8], sil
lea rdi, [rcx + 0x10]
mov qword [r11 + 0x10], rdi
lea rax, [rdi + 0x10]
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x20], 4
mov r9, rcx
lea r8, [0x140007340]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
lea rcx, vtable.Thread::OsfThread.0
mov qword [rdi], rcx
test rax, rax
je 0x14000d36c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14000d38a
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
mov dword [rbx + 0x60], esi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x90], rsi
lea rdi, [rbx + 0x64]
xor eax, eax
lea edx, [rsi + 8]
mov ecx, edx
rep stosb byte [rdi], al
lea rdi, [rbx + 0x6c]
mov ecx, edx
rep stosb byte [rdi], al
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x1400017c2
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400017af
lea rax, str.Cannot_create_thread
mov qword [rsp + 0x50], rax
lea rdx, [0x140031e60]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rax, str.Failed_to_create_event_handle_in_ThreadEvent__
mov qword [rsp + 0x58], rax
lea rdx, [0x140031e60]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400017cc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
call fcn.1400026f0
mov ebx, eax
test eax, eax
js 0x140001891
jne 0x14000d449
cmp byte [0x1400417c0], 0
je 0x14000d400
call fcn.1400018a0
and dword [rsp + 0x48], 0
xor edi, edi
cmp byte [0x1400417e0], dil
jne 0x14000d3a8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400417c8], rax
test rax, rax
je 0x14000d3bd
lea rax, [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [0x1400417c8]
and dword [rsp + 0x20], edi
lea r8, [0x140001d60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov byte [0x1400417e0], 1
test rax, rax
je 0x14000d3a8
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
js 0x14000d3dd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
js 0x14000d3cb
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [0x1400417c8]
test rax, rax
je 0x14000d3bd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x14000186e
mov ebx, 0x80004005
mov rdi, qword [0x140041720]
xor eax, eax
mov rcx, qword [0x140041728]
jmp 0x14000d43f
mov rcx, qword [0x1400417b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x1400417b8]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14000187e
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
jmp 0x140001887
test eax, eax
jne 0x14000188f
mov rdx, qword [rdi]
test rdx, rdx
je 0x14000d43b
mov rax, qword [rdx + 0x20]
mov edx, dword [rax + 8]
test edx, edx
jne 0x14000d42c
xor eax, eax
jmp 0x14000d43b
mov ecx, edx
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rcx, qword [0x140041728]
add rdi, 8
cmp rdi, rcx
jb 0x14000d40d
jmp 0x14000188f
mov byte [0x1400417c0], 0
jmp 0x14000188f
Function at 0x140004634
Capabilities:
Parse url

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor ebx, ebx
mov rsi, r8
mov r14d, edx
mov qword [rbp - 0x31], rbx
mov r15, rcx
mov qword [rbp - 0x39], rbx
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [rbx + 0x68]
mov edi, r9d
call sub.VCRUNTIME140.dll_memset
cmp r14d, 5
je 0x14000fd00
test rsi, rsi
je 0x140004719
test edi, edi
je 0x140004719
lea r8d, [rdi + rdi]
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140004750
test eax, eax
js 0x140004719
mov rcx, qword [r15 + 0xd0]
mov eax, 0x824
mov dword [rbp - 9], eax
mov dword [rbp + 0x27], eax
mov dword [rbp - 0x29], 0x68
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov rcx, qword [r15 + 0xd0]
lea r9, [rbp - 0x29]
mov edx, eax
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140004719
mov r8d, dword [rbp - 9]
lea rcx, [rbp - 0x39]
mov rdx, qword [rbp - 0x11]
add r8d, r8d
call fcn.140004750
test eax, eax
js 0x140004719
cmp r14d, dword [rbp - 0x15]
jne 0x140004719
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
movzx ebx, bl
mov edx, 1
test eax, eax
cmove ebx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
jmp 0x14000472f
Function at 0x140006e60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rbx, r9
mov r14, rdx
mov rsi, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r10, qword [rsi + 0x30]
and r10, r9
mov rax, r10
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov rcx, qword [rdx + rax*8]
cmp rcx, rdi
jne 0x140006fc5
mov rdx, rdi
cmp rdx, rcx
jne 0x140006fad
mov r8, qword [rbx]
cmp rdx, r8
je 0x140006f33
mov rax, qword [rbx + 8]
mov qword [rax], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi + 8]
mov rax, qword [r8 + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
mov qword [rbx + 8], rcx
add r10, r10
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + r10*8]
cmp rax, qword [rsi + 8]
jne 0x140006fd2
mov qword [r8 + r10*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r10*8 + 8], rbx
mov rax, qword [rsi + 0x10]
mov rdi, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm2, dword [0x14002aa1c]
test rax, rax
jns 0x140006f76
addss xmm0, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm1, rdi
test rdi, rdi
jns 0x140006f87
addss xmm1, xmm2
divss xmm0, xmm1
comiss xmm0, dword [rsi]
ja 0x140006fe4
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov eax, dword [rdi + 0x10]
cmp dword [r8], eax
jne 0x140006ef5
jmp 0x140010bb3
mov rdi, qword [rdx + rax*8 + 8]
mov rdi, qword [rdi]
jmp 0x140006ef2
cmp rax, rdx
jne 0x140010bd4
mov qword [r8 + r10*8], rbx
jmp 0x140006f55
cmp rdi, 0x200
jae 0x140010c01
lea rdi, [rdi*8]
lea r12, [rdi + rdi]
mov rax, qword [rsi + 0x28]
sub rax, qword [rsi + 0x18]
sar rax, 3
cmp r12, rax
jbe 0x14000702d
movabs rax, 0x1fffffffffffffff
cmp r12, rax
ja 0x140010c1c
mov rdx, r12
lea rcx, [rsi + 0x18]
call fcn.140006520
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, r12
lea rcx, [rsi + 0x18]
call fcn.140005cd0
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, rsi
call fcn.140006ae0
jmp 0x140006f90
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 8]
call fcn.140017498
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140006f9b
mov rax, qword [r8 + r10*8 + 8]
mov rcx, qword [rax]
mov qword [r8 + r10*8 + 8], rcx
cmp rcx, rbx
je 0x140006f55
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
jmp 0x140006f55
movabs rax, 0xfffffffffffffff
cmp rdi, rax
jae 0x140006ff9
add rdi, rdi
jmp 0x140006ff9
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3