joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009d9e0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x9b8]
sub rsp, 0xab0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov rdi, rcx
xor esi, esi
mov qword [rbp - 0x40], rsi
xor bl, bl
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x18009db7e
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x34], esi
mov dword [rbp - 0x30], 1
mov dword [rbp - 0x2c], 6
mov dword [rbp - 0x38], 4
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18009db82
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.Failed_to_resolve_server_name___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x1a0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 5
jl 0x18009db78
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [rsi + 0x1d]
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
lea r8d, [rsi + 0xf]
lea rdx, str.checkAddrFamily
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4d
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x48]
lea edx, [rsi + 5]
call fcn.180019ae4
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x18009dbb2
mov rcx, qword [rbp - 0x40]
mov rax, rcx
test rcx, rcx
je 0x18009dba9
nop
cmp dword [rax + 4], 0x17
je 0x18009dba1
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18009db90
jmp 0x18009dba3
mov bl, 1
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, bl
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0xab0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800a34f0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
test r8d, r8d
jle 0x1800a376a
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push r15
sub rsp, 0x140
mov qword [rax - 0x10], rbx
mov r10, rcx
mov qword [rax - 0x18], rbp
xor r15d, r15d
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r14
nop dword [rax]
nop word [rax + rax]
mov eax, r15d
lea r9, [rsp]
shl eax, 6
movsxd r11, eax
add r11, rdx
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
lea eax, [r8*4]
inc r8d
movsxd rcx, eax
lea r9, [r9 + 4]
movzx eax, byte [r11 + rcx + 1]
movzx edx, byte [rcx + r11]
shl edx, 8
or edx, eax
movzx eax, byte [r11 + rcx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r11 + rcx + 3]
shl edx, 8
or edx, eax
mov dword [r9 - 4], edx
cmp r8d, 0x10
jl 0x1800a3560
lea rax, [rsp + 0x38]
mov r11d, 0x30
nop dword [rax]
mov edx, dword [rax]
mov r9d, edx
mov r8d, dword [rax - 0x34]
lea rax, [rax + 4]
mov ecx, edx
rol r9d, 0xf
shr edx, 0xa
rol ecx, 0xd
xor r9d, ecx
mov ecx, r8d
xor r9d, edx
ror ecx, 7
mov edx, r8d
shr r8d, 3
rol edx, 0xe
xor edx, ecx
xor edx, r8d
add r9d, edx
add r9d, dword [rax - 0x3c]
add r9d, dword [rax - 0x18]
mov dword [rax + 4], r9d
sub r11, 1
jne 0x1800a35b0
mov r11d, dword [r10 + 0x88]
xor ebx, ebx
mov edi, dword [r10 + 0x8c]
mov esi, dword [r10 + 0x90]
mov r13d, dword [r10 + 0x94]
mov r9d, dword [r10 + 0x98]
mov ebp, dword [r10 + 0x9c]
mov r14d, dword [r10 + 0xa0]
mov r12d, dword [r10 + 0xa4]
lea r10, [0x18013f5c0]
nop word [rax + rax]
mov r8d, r9d
mov eax, r9d
rol eax, 7
mov ecx, r9d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r9d
mov edx, r11d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, ebp
and eax, r9d
xor ecx, eax
mov eax, r11d
add r8d, ecx
rol eax, 0xa
add r8d, dword [rbx + r10]
xor edx, eax
add r8d, dword [rsp + rbx]
mov eax, r11d
ror eax, 2
add r8d, r12d
xor edx, eax
mov ecx, edi
xor ecx, esi
mov eax, edi
and eax, esi
and ecx, r11d
xor ecx, eax
mov r12d, r14d
add edx, ecx
mov r14d, ebp
mov ebp, r9d
add rbx, 4
lea r9d, [r8 + r13]
mov r13d, esi
mov esi, edi
mov edi, r11d
lea r11d, [rdx + r8]
cmp rbx, 0x100
jl 0x1800a3640
mov r10, qword [rsp + 0x150]
mov eax, r12d
mov rdx, qword [rsp + 0x158]
inc r15d
mov dword [rsp + 0x168], r12d
add dword [r10 + 0x88], r11d
add dword [r10 + 0x8c], edi
add dword [r10 + 0x90], esi
add dword [r10 + 0x94], r13d
add dword [r10 + 0x98], r9d
add dword [r10 + 0x9c], ebp
add dword [r10 + 0xa0], r14d
add dword [r10 + 0xa4], eax
cmp r15d, dword [rsp + 0x160]
jl 0x1800a3540
mov r14, qword [rsp + 0x108]
mov r13, qword [rsp + 0x110]
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
add rsp, 0x140
pop r15
ret
Function at 0x1800a44c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor bl, bl
mov byte [rbp + 0x2f], bl
mov qword [rbp + 0xf], 7
xor esi, esi
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
lea r8d, [rsi + 0x2a]
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkm
lea rcx, [rbp - 9]
call fcn.18001eca0
nop
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], sil
mov r9d, 0x20019
lea r8, [rbp - 9]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x2f]
call fcn.180013b2c
test eax, eax
sete dil
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x1800a4560
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.180020b60
test dil, dil
je 0x1800a460c
mov dword [rbp + 0x1f], esi
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
mov r8d, 7
lea rdx, str.DCHUVen
lea rcx, [rbp - 9]
call fcn.18001eca0
mov dword [rbp + 0x23], 4
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
lea rax, [rbp + 0x23]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x27]
xor r8d, r8d
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1800a45dc
mov eax, 0x3bc6
cmp dword [rbp + 0x27], 4
cmovne edi, eax
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x1800a45f6
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.180020b60
test edi, edi
jne 0x1800a460c
movzx ebx, bl
mov eax, 1
cmp dword [rbp + 0x1f], 0x10de
cmove ebx, eax
cmp byte [rbp + 0x2f], 0
je 0x1800a461c
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800c9ce0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1801aedc4]
cmp ecx, 0xffffffff
jne 0x1800c9d08
xor esi, esi
jmp 0x1800c9d11
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1800c9e03
nop
mov rbx, qword [rsi + 0x18]
cmp qword [rsi + 0x30], 0
jne 0x1800c9d36
test rbx, rbx
je 0x1800c9ddc
jmp 0x1800c9d40
test rbx, rbx
je 0x1800c9d94
nop dword [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800c9d77
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x1800c9d40
cmp qword [rsi + 0x30], 0
je 0x1800c9d20
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800c9dbf
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1800c9dbf
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.18004b290
cmp qword [rsi + 0x30], 0
jne 0x1800c9da0
jmp 0x1800c9d20
lea rdx, [0x1800c9000]
lea rcx, [0x1801f90a8]
call fcn.1800c8dd0
mov ecx, dword [0x1801aedc4]
cmp ecx, 0xffffffff
je 0x1800c9e03
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1800c9e34
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1800c9e34
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1800c9e50
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x1800c9ee0]
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call fcn.1800effb0
mov rsi, rax
test rax, rax
jne 0x1800c9e94
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800c9eb7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800cae60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
nop
mov edx, dword [rsp + 0x44]
shl rdx, 0x20
mov eax, dword [rsp + 0x40]
or rdx, rax
movabs rax, 0x19db1ded53e8000
sub rdx, rax
mov qword [rbx], rdx
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800cb8f0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0xd0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800cb92e
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1800cb955
test rbx, rbx
je 0x1800cb94e
mov dword [rbx], 0
call fcn.1800cadf0
mov qword [rbx + 8], rax
mov al, 1
jmp 0x1800cba20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [rsp + 0x20], 0
call fcn.1800cadf0
mov qword [rsp + 0x28], rax
cmp ebp, 0xb7
jne 0x1800cb9a4
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1800cc670
cmp dword [rax], 3
jne 0x1800cb9a4
test rbx, rbx
je 0x1800cba1e
mov dword [rbx], 0
call fcn.1800cadf0
jmp 0x1800cba1a
test rbx, rbx
jne 0x1800cba13
mov qword [rsp + 0x58], socket
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], bl
lea r8d, [rbx + 0x23]
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x40]
call fcn.18001f210
nop
mov dword [rsp + 0x20], ebp
call fcn.1800cadf0
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800cb1d0
lea rdx, [0x1801a9208]
lea rcx, [rsp + 0x60]
call fcn.1800d1390
nop
call fcn.1800cadf0
mov dword [rbx], ebp
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x1800cc310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rsi, rdx
mov rdi, rcx
jb 0x1800cc32f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1800cc35e
mov r8, rsi
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1800cc1c0
mov eax, dword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x1800cc372
mov dword [rsi], 0
call fcn.1800cadf0
mov qword [rsi + 8], rax
bt ebx, 0xa
jae 0x1800cc3b9
mov rcx, rdi
call fcn.1800cbca0
test al, al
je 0x1800cc3a4
test bl, 0x10
mov eax, 4
mov ecx, 0xb
cmovne eax, ecx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800cc460
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x1800cc495
test r8, r8
je 0x1800cc488
xor eax, eax
mov dword [r8], eax
call fcn.1800cadf0
mov qword [rdi + 8], rax
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rdx - 3]
test eax, 0xfffffff7
je 0x1800cc50e
cmp qword [rcx + 0x18], 8
jb 0x1800cc4a9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800cc4e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x1800cc4e7
cmp eax, 0x57
je 0x1800cc4e7
cmp eax, 0x35
ja 0x1800cc4d8
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1800cc4e7
cmp eax, 0xa1
je 0x1800cc4e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800cc4e9
xor eax, eax
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rbx
mov ecx, eax
call fcn.1800cbba0
test al, al
je 0x1800cc574
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rcx + 0x18], 8
jb 0x1800cc518
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1800cc556
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x1800cc556
cmp eax, 0x57
je 0x1800cc556
cmp eax, 0x35
ja 0x1800cc547
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1800cc556
cmp eax, 0xa1
je 0x1800cc556
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800cc558
xor eax, eax
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rbx
mov ecx, eax
call fcn.1800cbba0
test al, al
jne 0x1800cc488
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800cc590
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
jb 0x1800cc5b2
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1800cc5bc
mov rcx, qword [rcx]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1800cc5d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800cc5d6
xor eax, eax
lea rcx, str.boost::filesystem::rename
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov ecx, eax
mov rdx, rbx
call fcn.1800cba80
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1800cc6b4
mov rcx, qword [rdx]
jmp 0x1800cc6b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1800cc6d7
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1800cc1c0
jmp 0x1800cc829
xor r15d, r15d
bt ebp, 0xa
jae 0x1800cc7e5
cmp qword [rdi + 0x18], 8
jb 0x1800cc6f0
mov rdx, qword [rdi]
jmp 0x1800cc6f3
mov rdx, rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rdx], r15w
jne 0x1800cc712
mov r8, r15
jmp 0x1800cc720
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1800cc716
lea rcx, [rsp + 0x50]
call fcn.18001eca0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1800cc785
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180020b60
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp rbx, 0xffffffffffffffff
jne 0x1800cc7b0
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1800cc1c0
nop
jmp 0x1800cc829
mov rcx, rdi
call fcn.1800cbca0
test al, al
jne 0x1800cc7db
mov edx, ebp
mov rcx, rdi
call fcn.1800cbd80
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800cc829
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r14, r14
je 0x1800cc7f6
mov dword [r14], r15d
call fcn.1800cadf0
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
test bpl, 0x10
mov dword [rsp + 0x40], 3
jne 0x1800cc811
mov dword [rsp + 0x40], 2
call fcn.1800cbd80
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx]
mov dword [rsi], eax
mov eax, dword [rcx + 4]
mov dword [rsi + 4], eax
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a6240
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800f8328
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1800f804e
call fcn.1800dd340
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1800dd1ec
jmp 0x1800f8199
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800f8199
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800f8199
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800f807d
lock or dword [rcx + 0x14], 0x10
jmp 0x1800f8199
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800f8091
call fcn.1800fb264
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1800f80a1
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1800f80a4
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1800ecc30
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1800f7aa4
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1800f8187
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1800f8135
mov rcx, rbx
call fcn.1800ecc30
cmp eax, 0xffffffff
je 0x1800f8120
mov rcx, rbx
call fcn.1800ecc30
cmp eax, 0xfffffffe
je 0x1800f8120
mov rcx, rbx
call fcn.1800ecc30
movsxd rdi, eax
lea r14, [0x1801f97c0]
mov rcx, rbx
sar rdi, 6
call fcn.1800ecc30
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1800f8127
lea rdx, [0x1801af1f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800f8135
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1800f8159
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1800f8159
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1800f8159
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1800f8177
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1800f8182
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1800f819e
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1800f8018

Function at 0x180103f50
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x180103f63
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1801045d4
lea rdx, [0x1801a9440]
lea rcx, [rsp + 0x20]
call fcn.1800d1390
int3

Function at 0x18011043c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1801f9fd0]
xor edx, edx
jmp fcn.180103f50

Function at 0x180110e5c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1801f9fd0]
jmp fcn.180103f50