joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d15c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400d1771
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400d0af0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400d1736
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400d16b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400d1725
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400d16ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1400d16e7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400d1725
cmp r9, rdx
je 0x1400d1701
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400d174b
cmp r9, rdx
jne 0x1400d16f2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400d1660
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400d1725
lea rcx, str.invalid_hash_bucket_count
call fcn.14005f770
int3

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

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
jb 0x1400d20c1
mov r10, qword [rdx]
mov r11, qword [rdx + 0x10]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400d2109
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x1400d20f0
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.1400c8540
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400d2129
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14005f7a0
int3
Function at 0x1400d2970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rbp, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x40], r8
xor esi, esi
lea rbx, [rcx + 0x108]
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call fcn.14005fd10
test eax, eax
jne 0x1400d2a79
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400d29cd
mov rcx, qword [rdi]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x1400d2a03
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
xor r9, rax
imul r9, r8
inc rsi
cmp rsi, rdx
jb 0x1400d29f0
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x628]
call fcn.1400c8540
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400d2a27
mov rdx, qword [r14 + 0x630]
mov rcx, rbp
cmp rdx, qword [r14 + 0x630]
je 0x1400d2a3e
add rdx, 0x30
call fcn.1400cc980
jmp 0x1400d2a44
call fcn.14014e0d0
nop
mov rcx, rbx
call fcn.14005fd40
nop
mov rcx, rdi
call fcn.1400061a0
mov rax, rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.14005f8b0
int3
Function at 0x1400d7af0
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 0x1400d7b15
cvtsi2ss xmm0, rdx
jmp 0x1400d7b2a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140154ab0
movss xmm1, dword [0x14017d4a0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400d7b58
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400d7b58
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 0x1400d7b8a
cmp rbx, 0x200
jae 0x1400d7b87
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400d7b8a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400d1340
Function at 0x1400dce10
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x1400dce97
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x1400dce8e
nop
cmp rax, rdx
je 0x1400dce97
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400dce80
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14005f7a0
int3
Function at 0x1400fde10
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400fdfef
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400d0af0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400fdfb4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400fdf2c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400fdfa3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400fdf69
mov r10, qword [rdx]
cmp r10, rax
je 0x1400fdf63
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400fdfa3
cmp r9, rdx
je 0x1400fdf7f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400fdfc9
cmp r9, rdx
jne 0x1400fdf70
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400fdeb0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400fdfa3
lea rcx, str.invalid_hash_bucket_count
call fcn.14005f770
int3
Function at 0x1401373d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r9
mov rsi, r8
mov r15, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
xor r12d, r12d
mov dword [rbp - 0x40], r12d
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x140137417
mov r8, qword [r9]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140137424
mov rdx, qword [rsi]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 2
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
mov edx, dword [rbp - 0x40]
shr rdx, 1
jne 0x14013746f
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r12w
jmp 0x1401374a4
cmp rdx, 7
ja 0x14013748f
mov qword [rbp - 0x20], rdx
movzx eax, r12w
lea rdi, [rbp - 0x30]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 - 0x30], r12w
jmp 0x1401374a4
mov word [rsp + 0x20], r12w
mov r9, rdx
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14002d890
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
cmp qword [r14 + 0x18], 8
jb 0x1401374bc
mov r14, qword [r14]
cmp qword [rsi + 0x18], 8
jb 0x1401374c6
mov rsi, qword [rsi]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
mov r8, r14
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140137559
mov qword [rbx], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
xor r8d, r8d
lea rdx, [0x14018bd54]
mov rcx, rbx
call fcn.140006890
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1401375ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013754f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013760b
call fcn.14007c190
jmp 0x1401375ea
mov ecx, dword [rbp - 0x40]
shr ecx, 1
dec ecx
mov r8, qword [rbp - 0x20]
cmp rcx, r8
ja 0x140137582
mov qword [rbp - 0x20], rcx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + rcx*2], r12w
jmp 0x1401375db
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1401375c6
mov qword [rbp - 0x20], rcx
lea r9, [rbp - 0x30]
cmp rdi, 8
cmovae r9, qword [rbp - 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1401375bb
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x1401375db
mov word [rsp + 0x20], r12w
mov r9, rdx
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14002d890
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14007bb60
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140082b90
int3
Function at 0x140139140
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov dword [rsp + 0x38], 0x200
mov ecx, 0x200
xor dil, dil
call fcn.140082c70
mov rbx, rax
test rax, rax
jne 0x14013917f
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call fcn.14007e870
lea r8, [rsp + 0x38]
mov rdx, rbx
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x1401391bf
mov dil, 1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1401391b0
mov rdx, rbx
jmp 0x1401391cc
mov r8d, 7
lea rdx, str.unknown
mov rcx, rsi
call fcn.1400105c0
mov rcx, rbx
call fcn.140082770
mov rbx, qword [rsp + 0x30]
movzx eax, dil
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140139af0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
lea r8d, [rsi + 4]
lea rdx, str.MHz
lea rcx, [rsp + 0x68]
call fcn.140006890
nop
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea r8d, [rsi + 0x2e]
lea rdx, str.HardwareDescriptionSystemCentralProcessor0
lea rcx, [rsp + 0x48]
call fcn.140006890
mov dword [rsp + 0x44], 4
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000002
lea r9d, [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete dil
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140139c03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139bfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140139c94
call fcn.14007c190
movdqa xmm0, xmmword [0x1401968d0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140139c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139c52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140139c8e
call fcn.14007c190
mov ecx, dword [rsp + 0x40]
imul rdx, rcx, 0xf4240
mov qword [rbx], rdx
movzx eax, dil
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140082b90
nop
call fcn.140082b90
nop
int3

Function at 0x14013a8f0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
mov qword [rbx], rax
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1401458b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea r14, [0x140187c88]
mov rdi, r8
mov rax, rdx
mov rbx, rcx
test r8, r8
je 0x1401458e5
mov dword [r8], 0
mov byte [r8 + 4], 0
mov qword [r8 + 8], r14
test rax, rax
je 0x14014590f
cmp qword [rcx + 0x18], 8
mov rdx, rbx
jb 0x1401458f7
mov rdx, qword [rcx]
cmp qword [rax + 0x18], 8
jb 0x140145901
mov rax, qword [rax]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
jmp 0x140145921
cmp qword [rcx + 0x18], 8
jb 0x140145919
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140145938
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov rdx, rbx
mov byte [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], r14
mov esi, eax
call fcn.1401466c0
cmp dword [rax], 3
je 0x140145982
lea r9, str.boost::filesystem::create_directory
mov r8, rdi
mov rdx, rbx
mov ecx, esi
call fcn.1401477a0
mov rsi, qword [rsp + 0x40]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140145fc0
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 rdi, rdx
mov rsi, rcx
jb 0x140145fdf
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14014600e
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140145ea0
mov eax, dword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test rdi, rdi
je 0x140146028
lea rax, [0x140187c88]
mov dword [rdi], 0
mov qword [rdi + 8], rax
mov byte [rdi + 4], 0
bt ebx, 0xa
jae 0x14014606f
mov rcx, rsi
call fcn.140145a70
test al, al
je 0x14014605a
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 0x140146090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
lea r14, [0x140187c88]
cmp qword [rcx + 0x18], 8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x20], ebp
mov byte [rsp + 0x24], bpl
mov qword [rsp + 0x28], r14
jb 0x1401460c9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1401460f0
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140145ea0
mov ebp, dword [rsp + 0x20]
mov ebx, dword [rax]
jmp 0x140146155
bt ebx, 0xa
jae 0x14014614c
mov rcx, rsi
call fcn.140145a70
test al, al
je 0x140146114
test bl, 0x10
mov eax, 0xb
mov ebx, 4
cmovne ebx, eax
jmp 0x140146155
mov ebx, 9
test rdi, rdi
je 0x14014612c
mov dword [rdi], 0
mov byte [rdi + 4], 0
mov qword [rdi + 8], r14
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call fcn.1401464e0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
test ebx, ebx
jne 0x140146119
test ebp, ebp
je 0x140146119
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rsi
mov ecx, ebp
call fcn.1401477a0
xor al, al
jmp 0x140146139

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
lea r15, [0x140187c88]
cmp qword [rcx + 0x18], 8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x20], ebp
mov r14d, ebp
mov byte [rsp + 0x24], bpl
mov qword [rsp + 0x28], r15
jb 0x1401461c2
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1401461ea
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140145ea0
mov r14d, dword [rsp + 0x20]
mov ebx, dword [rax]
jmp 0x14014625c
bt ebx, 0xa
jae 0x140146253
mov rcx, rsi
call fcn.140145a70
test al, al
je 0x14014620e
test bl, 0x10
mov eax, 0xb
mov ebx, 4
cmovne ebx, eax
jmp 0x14014625c
mov ebx, 9
test rdi, rdi
je 0x140146222
mov dword [rdi], ebp
mov byte [rdi + 4], bpl
mov qword [rdi + 8], r15
cmp ebx, 1
jbe 0x140146237
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call fcn.140146280
mov rbp, rax
mov rax, rbp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
test ebx, ebx
jne 0x140146213
test r14d, r14d
je 0x140146213
lea r9, str.boost::filesystem::remove_all
mov r8, rdi
mov rdx, rsi
mov ecx, r14d
call fcn.1401477a0
xor eax, eax
jmp 0x14014623a
Function at 0x1401464e0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rcx
cmp edx, 1
jne 0x14014651e
test rbx, rbx
je 0x140146511
lea rax, [0x140187c88]
mov dword [r8], 0
mov qword [r8 + 8], rax
mov byte [r8 + 4], 0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rdx - 3]
test eax, 0xfffffff7
je 0x14014653a
cmp qword [rcx + 0x18], 8
jb 0x140146532
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14014654a
cmp qword [rcx + 0x18], 8
jb 0x140146544
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401465a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
ja 0x140146569
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1401465a5
cmp eax, 0x7b
je 0x1401465a5
cmp eax, 0x57
je 0x1401465a5
cmp eax, 0xa1
je 0x1401465a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1401465a5
lea r9, str.boost::filesystem::remove
mov r8, rbx
mov rdx, rdi
mov ecx, eax
call fcn.1401477a0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rbx, rbx
je 0x1401465bf
lea rax, [0x140187c88]
mov byte [rbx + 4], 0
mov qword [rbx + 8], rax
mov dword [rbx], 0
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1401465d0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x18], 8
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
jb 0x1401465f7
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140146654
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140146654
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140146654
mov ebp, 1
jmp 0x14014665c
xor ebp, ebp
cmp rbx, 0xffffffffffffffff
je 0x140146669
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x140146673
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14014668f
test rdi, rdi
je 0x1401466a3
lea rax, [0x140187c88]
mov dword [rdi], 0
mov qword [rdi + 8], rax
mov byte [rdi + 4], 0
jmp 0x1401466a3
lea r9, str.boost::filesystem::resize_file
mov r8, rdi
mov rdx, rsi
mov ecx, eax
call fcn.1401477a0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret