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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 0x10]
mov rdi, r8
mov r9, rcx
mov dword [rsp + 0x30], eax
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rsp + rcx + 0x30]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x1400f2fa5
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400f2ffc
cmp qword [rcx + rdx*8], rdi
jne 0x1400f2ff6
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400f3009
mov rax, qword [rdi + 8]
jmp 0x1400f2fef
cmp qword [rcx + rdx*8], rdi
jne 0x1400f300e
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi]
mov dl, 1
mov qword [rax], rbx
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [r8 + 8], rax
xor r8d, r8d
dec qword [r9 + 0x10]
call fcn.14000b190
mov rcx, rdi
call fcn.14015729c
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 0x10]
mov r10, rcx
mov dword [rsp + 0x30], eax
xor ecx, ecx
mov rdi, rdx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rsp + rcx + 0x30]
movabs rdx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdx
cmp rcx, 4
jb 0x1400f307d
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, r9
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x1400f30d4
cmp qword [rcx + rdx*8], r8
jne 0x1400f30ce
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400f30e1
mov rax, qword [r8 + 8]
jmp 0x1400f30c7
cmp qword [rcx + rdx*8], r8
jne 0x1400f30e6
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov r8, qword [rsp + 0x40]
mov rax, qword [r8 + 8]
mov rcx, r8
mov rbx, qword [r8]
mov qword [rax], rbx
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
dec qword [r10 + 0x10]
call fcn.14015729c
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f3434
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov r10d, dword [r8]
mov r11, rcx
mov dword [rsp + 8], r10d
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [rsp + r9 + 8]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 4
jb 0x1400f3451
mov rcx, qword [r11 + 0x30]
mov r9, qword [r11 + 0x18]
and rcx, r8
mov r8, qword [r11 + 8]
mov rax, rcx
add rax, rax
lea rbx, [rcx + rcx]
mov rax, qword [r9 + rax*8]
cmp qword [r9 + rbx*8], r8
jne 0x1400f3499
mov rcx, r8
jmp 0x1400f34a1
mov rcx, qword [r9 + rbx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400f34ba
cmp r10d, dword [rax + 0x10]
je 0x1400f34b1
mov rax, qword [rax]
jmp 0x1400f348e
cmovne rax, r8
mov qword [rdx], rax
jmp 0x1400f34bd
mov qword [rdx], r8
mov rbx, qword [rsp + 0x10]
mov rax, rdx
ret

Function at 0x1400f48c8
Capabilities:
Set http header

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, 0x40
mov r14, rdx
mov rdx, qword [rcx + 0x78]
lea rcx, [rax - 0x28]
call fcn.1400f3b3c
lea rcx, [rsp + 0x20]
call fcn.1400f6940
xor ebx, ebx
test al, al
je 0x1400f49a8
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x1400f49a8
mov esi, dword [rsp + 0x30]
cmp esi, 1
jbe 0x1400f49a8
add esi, 0xb
cmp esi, 0x3fffffff
ja 0x1400f4931
lea rcx, [rsi + rsi]
jmp 0x1400f4935
or rcx, 0xffffffffffffffff
xor edx, edx
call fcn.14000e524
mov rdi, rax
test rax, rax
je 0x1400f49a8
test esi, esi
jle 0x1400f495e
movsxd rdx, esi
lea r8, str.Cookie:
or r9, 0xffffffffffffffff
mov rcx, rax
call fcn.1401571b8
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call fcn.14009f07c
mov r8d, esi
lea rcx, [0x1402314b4]
mov rdx, rdi
call fcn.14009f07c
mov r9d, 0xa0000000
or r8d, 0xffffffff
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400f49a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.14000e530
lea rcx, [rsp + 0x20]
call fcn.1400f3c50
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400ff104
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x80
mov edi, edx
mov rbx, rcx
cmp word [rcx], ax
jb 0x1400ff124
xor eax, eax
jmp 0x1400ff269
cmp word [rcx], 0x20
jbe 0x1400ff264
cmp word [rcx], 0x7f
je 0x1400ff264
cmp word [rcx], 0x25
jne 0x1400ff1c9
test r8b, 0x40
jne 0x1400ff264
cmp edx, 2
jle 0x1400ff16b
movzx ecx, word [rcx + 2]
call fcn.14009ee10
test eax, eax
je 0x1400ff16b
movzx ecx, word [rbx + 4]
call fcn.14009ee10
test eax, eax
jne 0x1400ff11d
cmp edi, 5
jle 0x1400ff264
movzx eax, word [rbx + 2]
or ax, 0x20
cmp ax, 0x75
jne 0x1400ff264
movzx ecx, word [rbx + 4]
call fcn.14009ee10
test eax, eax
je 0x1400ff264
movzx ecx, word [rbx + 6]
call fcn.14009ee10
test eax, eax
je 0x1400ff264
movzx ecx, word [rbx + 8]
call fcn.14009ee10
test eax, eax
je 0x1400ff264
movzx ecx, word [rbx + 0xa]
call fcn.14009ee10
test eax, eax
jmp 0x1400ff25e
movzx ecx, word [rcx]
cmp ecx, 0x3d
jg 0x1400ff233
je 0x1400ff28d
cmp ecx, 0x27
jg 0x1400ff216
je 0x1400ff20d
cmp ecx, 0x21
je 0x1400ff28d
jle 0x1400ff11d
cmp ecx, 0x23
jle 0x1400ff264
cmp ecx, 0x24
je 0x1400ff28d
cmp ecx, 0x26
jne 0x1400ff11d
and r8d, 0x500000
jmp 0x1400ff288
and r8d, 0x100020
jmp 0x1400ff288
cmp ecx, 0x2c
jle 0x1400ff28d
cmp ecx, 0x2f
je 0x1400ff28d
cmp ecx, 0x39
jle 0x1400ff11d
cmp ecx, 0x3b
jle 0x1400ff28d
cmp ecx, 0x3c
jmp 0x1400ff25e
sub ecx, 0x3e
je 0x1400ff264
sub ecx, 1
je 0x1400ff29f
sub ecx, 1
je 0x1400ff28d
sub ecx, 0x1b
je 0x1400ff274
sub ecx, 2
je 0x1400ff274
sub ecx, 1
je 0x1400ff264
sub ecx, 2
je 0x1400ff264
sub ecx, 0x1b
je 0x1400ff264
cmp ecx, 2
jne 0x1400ff11d
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test r9d, r9d
jne 0x1400ff11d
shr r8, 0x1d
not r8d
and r8d, 1
mov eax, r8d
jmp 0x1400ff269
test r9d, r9d
jne 0x1400ff11d
and r8d, 0x100000
jmp 0x1400ff288
and r8d, 0x140000
jmp 0x1400ff288
Function at 0x14010b9e8
Capabilities:
Get file size

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movzx r15d, r8w
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
cmp r15d, 4
jae 0x14010bafe
mov ecx, 0x7f0000
mov eax, r8d
and eax, 0xffff0000
or eax, ecx
cmp eax, ecx
jne 0x14010bafe
lea rdx, [r11 - 0x28]
mov rcx, r14
call sub.KERNEL32.dll_GetFileSizeEx
test eax, eax
jne 0x14010ba5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14010bb03
mov rax, qword [rsp + 0x20]
test rax, rax
jns 0x14010ba71
mov edi, 0x8000ffff
jmp 0x14010bb03
xor ecx, ecx
mov qword [rbx + 0x88], rax
xor edi, edi
test r15d, r15d
setne cl
mov dword [rbx + 0x48], ecx
mov ecx, ebp
and ecx, 0x100000
mov dword [rbx + 0x4c], ecx
mov rcx, qword [rbx + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x14010baa5
or qword [rbx + 0x40], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], r14
cmp qword [rbx + 0xb8], rsi
je 0x14010bae0
test rsi, rsi
je 0x14010bac0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x14010bad9
and qword [rbx + 0xb8], rdi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0xb8], rsi
bt ebp, 0x11
jb 0x14010bb03
xor r8d, r8d
lea rcx, [rbx + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [rbx + 0x80], 1
jmp 0x14010bb03
mov edi, 0x80070057
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14010bb20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x50], 0
mov rbx, rcx
je 0x14010bb69
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_GetFileSizeEx
test eax, eax
jne 0x14010bb58
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x14010bb69
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x14010bb69
mov qword [rbx + 0x88], rax
mov rax, qword [rbx + 0x88]
add rsp, 0x20
pop rbx
ret
Function at 0x14010bb78
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and dword [rbp + 0x30], 0
mov r12, r8
cmp dword [rcx + 0x4c], 0
mov r14, rdx
mov edi, r9d
mov r15, rcx
je 0x14010bbfe
cmp edi, 0x40000
jb 0x14010bbfe
mov rcx, qword [rcx + 0x40]
lea rax, fcn.140020ba0
and qword [rbp - 0x30], 0
lea r9, [rbp - 0x30]
and qword [rbp - 0x20], 0
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], r8
mov r8d, edi
mov qword [r11 - 0x68], rax
call fcn.14010af3c
mov rdx, qword [rbp + 0x50]
mov ebx, eax
mov ecx, dword [rbp - 0x30]
add dword [rdx], ecx
jmp 0x14010bcd0
mov r13, qword [rbp + 0x58]
mov ecx, 0x10000
mov esi, ecx
cmp edi, ecx
cmovb esi, edi
mov dword [rbp - 0x18], r14d
and qword [rbp - 0x10], 0
mov rax, r14
shr rax, 0x20
cmp qword [r13 + 8], 0
mov dword [rbp - 0x14], eax
je 0x14010bc34
mov rcx, r13
call fcn.140111700
mov ebx, eax
jmp 0x14010bc36
xor ebx, ebx
test ebx, ebx
js 0x14010bcd0
mov rcx, qword [r15 + 0x40]
lea rax, [rbp - 0x28]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [r15 + 0x4c], 0
je 0x14010bc8a
test eax, eax
jne 0x14010bca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14010bc8e
mov rcx, qword [r15 + 0x40]
lea r8, [rbp + 0x30]
mov r9b, 1
lea rdx, [rbp - 0x28]
call fcn.140112020
movzx eax, al
test eax, eax
jne 0x14010bca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14010bcd0
mov ecx, dword [rbp + 0x30]
mov rax, qword [rbp + 0x50]
add r14, rcx
add r12, rcx
add dword [rax], ecx
sub edi, ecx
je 0x14010bcd0
cmp esi, ecx
jne 0x14010bccb
mov eax, 0x10000
mov esi, eax
cmp edi, eax
jmp 0x14010bc0b
mov ebx, 0x8000ffff
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14010bcf0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xa0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14d, r9d
mov rdi, rdx
mov rsi, rcx
call fcn.14010bb20
mov r15, rax
xor r13d, r13d
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp - 0x29]
call fcn.140111648
lea rax, [0x14024e5a0]
mov qword [rbp - 0x29], rax
mov r8d, 0x10000
mov r12d, r8d
cmp r14d, r8d
cmovb r12d, r14d
mov rax, qword [rbp + 0x77]
mov qword [rbp - 1], rax
and dword [rbp + 0xf], r13d
mov eax, r14d
lea edx, [r13 + 1]
test r14d, r14d
cmove eax, edx
mov qword [rbp + 7], rax
lea rdx, [r14 + rdi]
mov qword [rbp + 0x5f], rdx
lea rax, [r15 + 0x10000]
cmp rdx, rax
jbe 0x14010bdbb
cmp qword [rbp - 0x21], r13
je 0x14010bd9d
lea rcx, [rbp - 0x29]
call fcn.140111700
mov ebx, eax
mov rdx, qword [rbp + 0x5f]
jmp 0x14010bd9f
xor ebx, ebx
test ebx, ebx
js 0x14010beb4
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x7f]
call qword [rax + 0x30]
test eax, eax
setns r13b
mov dword [rbp - 0x41], edi
mov rax, rdi
shr rax, 0x20
mov dword [rbp - 0x3d], eax
and qword [rbp - 0x39], 0
cmp qword [rbp - 0x21], 0
je 0x14010bde1
lea rcx, [rbp - 0x29]
call fcn.140111700
mov ebx, eax
jmp 0x14010bde3
xor ebx, ebx
test ebx, ebx
js 0x14010be9d
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
mov r8d, r12d
mov rdx, qword [rbp + 0x67]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi + 0x4c], 0
je 0x14010be37
test eax, eax
jne 0x14010be53
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14010be3b
mov r9b, 1
lea r8, [rbp + 0x6f]
lea rdx, [rbp - 0x51]
mov rcx, qword [rsi + 0x40]
call fcn.140112020
movzx eax, al
test eax, eax
jne 0x14010be53
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14010be9d
mov ecx, dword [rbp + 0x6f]
sub r14d, ecx
mov rax, qword [rbp + 0x77]
add dword [rax], ecx
add qword [rbp + 0x67], rcx
add rdi, rcx
mov rax, rdi
cmp r15, rdi
cmova rax, r15
mov r15, rax
cmp r12d, ecx
jne 0x14010be98
xor ebx, ebx
test r14d, r14d
je 0x14010be93
mov eax, 0x10000
mov r12d, eax
cmp r14d, eax
cmovb r12d, r14d
jmp 0x14010bdbb
xor r13d, r13d
jmp 0x14010be9d
mov ebx, 0x80004005
test r13d, r13d
je 0x14010beb4
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, r15
call qword [rax + 0x30]
jmp 0x14010bebb
mov qword [rsi + 0x88], r15
lea rax, [0x14024e578]
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14010bedb
and qword [rbp - 0x21], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140112038
Capabilities:
Delete file
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r15d, r15d
mov rbx, r9
mov r14d, r8d
mov rbp, rdx
mov rsi, rcx
cmp dword [rsp + 0x290], r15d
jg 0x140112078
xor eax, eax
jmp 0x140112112
cmp rbx, rcx
je 0x140112081
mov word [r9], r15w
cmp dword [rsp + 0x290], 0x104
jl 0x140112096
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x140112112
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1401380c0
lea r9, [rsp + 0x20]
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
test eax, eax
je 0x140112110
or r9, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov rcx, r9
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1401120ce
cmp ecx, dword [rsp + 0x290]
jl 0x1401120fb
mov ecx, 0x3ca797
call fcn.140175954
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140112071
movsxd rdx, dword [rsp + 0x290]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.1401571b8
mov eax, esi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140135130
add rsp, 0x240
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret

Function at 0x1401122bc
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
movsxd rsi, edx
mov rdi, rcx
test edx, edx
jg 0x1401122f6
mov dword [0], 1
xor ecx, ecx
int 0x29
mov rdx, rsi
mov word [rcx], bp
call fcn.1401126e0
test al, al
jne 0x140112328
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a61e8
test eax, eax
je 0x140112338
mov eax, 1
jmp 0x140112307
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], bp
jne 0x14011233c
test ebx, ebx
jg 0x140112358
mov dword [0], 1
xor ecx, ecx
int 0x29
movsxd rax, ebx
mov r14d, 0x5c
cmp word [rdi + rax*2 - 2], r14w
je 0x140112374
cmp ebx, esi
je 0x140112305
mov word [rdi + rax*2], r14w
inc ebx
lea eax, [rbx + 0xc]
cmp eax, ebx
jl 0x140112417
movsxd rcx, eax
mov r15d, 0xffffffff
inc rcx
mov eax, 0x80000000
add rax, rcx
cmp rax, r15
ja 0x140112411
cmp ecx, esi
jg 0x140112305
movups xmm0, xmmword [str.Content.MSO]
movsxd rax, ebx
mov rcx, rdi
movups xmmword [rdi + rax*2], xmm0
movsd xmm1, qword [0x14024ed08]
movsd qword [rdi + rax*2 + 0x10], xmm1
call fcn.140112854
test eax, eax
jne 0x140112402
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov edx, dword [rsp + 0x20]
mov rcx, rdi
test eax, eax
cmove edx, r15d
or edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [rbx + 0xb]
movsxd rcx, eax
mov dword [rdi + rcx*2], r14d
jmp 0x140112331
call fcn.140157140
int3
call fcn.140157140
int3
Function at 0x140112654
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, edx
mov rdi, rcx
mov rdx, rcx
mov rcx, qword [0x140331b80]
call fcn.1400a5b30
test eax, eax
je 0x140112681
mov rcx, rdi
call fcn.140112854
jmp 0x140112693
xor r9d, r9d
mov rdx, rdi
xor ecx, ecx
lea r8d, [r9 + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rbx, qword [rsp + 0x30]
test eax, eax
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x1401126e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x104
jae 0x14011270d
mov dword [0], 1
xor ecx, ecx
int 0x29
xor ebx, ebx
mov word [rcx], bx
call fcn.1400a61e8
test eax, eax
je 0x14011272c
mov rdx, rsi
mov ecx, edi
call sub.KERNEL32.dll_GetTempPathW
test eax, eax
setne al
jmp 0x140112736
mov edx, edi
mov rcx, rsi
call fcn.140112654
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140112748
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r8, rcx
or rbx, 0xffffffffffffffff
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.1401571b8
lea rax, [rsp + 0x20]
xor esi, esi
inc rbx
cmp word [rax + rbx*2], si
jne 0x140112791
lea rdi, [rsp + 0x20]
mov ebp, 0x5c
lea rdi, [rdi + rbx*2]
lea rax, [rdi - 2]
cmp bp, word [rax]
jne 0x1401127b7
mov rdi, rax
mov word [rax], si
lea rax, [rsp + 0x20]
mov rbx, rdi
cmp rdi, rax
jbe 0x1401127f2
cmp bp, word [rbx]
jne 0x1401127da
lea rcx, [rsp + 0x20]
mov word [rbx], si
call fcn.140112854
test eax, eax
jne 0x1401127ea
sub rbx, 2
lea rax, [rsp + 0x20]
cmp rbx, rax
jbe 0x1401127ed
jmp 0x1401127c4
mov word [rbx], bp
cmp rbx, rdi
ja 0x140112823
cmp word [rbx], si
jne 0x140112819
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140112816
lea rcx, [rsp + 0x20]
call fcn.140112854
test eax, eax
je 0x14011281f
mov word [rbx], bp
add rbx, 2
jmp 0x1401127ed
xor eax, eax
jmp 0x140112828
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401128a4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa60
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.1401380c0
xor esi, esi
lea rcx, [rsp + 0x250]
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x400
mov edi, esi
call fcn.1401571b8
mov ebx, esi
lea ebp, [rsi + 0x5c]
mov edx, ebp
lea rcx, [rsp + 0x250]
call fcn.1401383bc
test rax, rax
je 0x140112925
inc edi
mov qword [rsp + rbx*8 + 0x50], rax
inc rbx
mov word [rax], si
cmp rbx, 0x40
jge 0x14011294f
test rax, rax
je 0x14011294f
lea r8, [rsp + 0x20]
xor edx, edx
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140112904
cmp dword [rsp + 0x20], esi
jl 0x140112904
cmp edi, 0x40
jl 0x140112977
xor eax, eax
jmp 0x140112982
mov rax, qword [rsp + rbx*8 + 0x48]
lea rcx, [rsp + 0x250]
dec rbx
xor edx, edx
mov word [rax], bp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140112954
cmp rbx, 1
jg 0x140112958
mov eax, 1
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0xa60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140112a04
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc r10
cmp r10, 4
jb 0x140112a3d
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov r8, rdx
add r8, r8
mov rcx, qword [r9 + 0x18]
mov rax, qword [rcx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140112a7d
mov rdi, qword [r9 + 8]
jmp 0x140112a85
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rax
je 0x140112adf
mov eax, dword [r11]
add rdx, rdx
mov rdi, qword [rdi + 8]
cmp eax, dword [rdi + 0x10]
je 0x140112aa1
cmp rdi, qword [rcx + rdx*8]
jne 0x140112a90
jmp 0x140112adf
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x18]
xor r8d, r8d
mov dl, 1
call fcn.14000b190
mov rcx, rbx
call fcn.14015729c
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140112b78
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140112b19
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140112b36
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140112b65
cmp rax, rdi
jne 0x140112b41
mov qword [rdx + r8*8], rbx
jmp 0x140112b65
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140112b65
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140113104
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret