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

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x68
mov rbx, r8
mov qword [rsp + 0x28], rdx
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call fcn.140037774
test eax, eax
jne 0x14000971f
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x14000970f
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x60], rdi
jbe 0x14000966c
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x1400096a3
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140009690
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf0]
call fcn.140018c60
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400096c7
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x1400096d9
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x1400096f5
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400096e6
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.140037798
mov rdi, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x68
pop r14
pop rsi
pop rbp
pop rbx
ret
dec eax
mov ecx, 6
mov dword [rbp + 0x4c], eax
call fcn.140036fbc
int3
mov ecx, 5
call fcn.140036fbc
int3
Function at 0x1400157a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001591b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000c2b0
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 0x1400158e4
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140015860
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400158d3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140015899
mov r10, qword [rdx]
cmp r10, rax
je 0x140015893
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 0x1400158d3
cmp r8, rdx
je 0x1400158af
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1400158f5
cmp r8, rdx
jne 0x1400158a0
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 0x140015831
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x1400158d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1400371fc
int3
Function at 0x140018820
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140018a16
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.140037774
test eax, eax
jne 0x140018a43
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x140018a4e
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.14005e8e0
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v10::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x1400189aa
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x1400189aa
test r8, r8
je 0x14001890a
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14001892b
lea ebp, [rax + 7]
jmp 0x140018946
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x140018970
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1400189ce
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1400189ce
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x140018a0e
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018a08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018a3d
call fcn.140038e94
nop
mov rcx, rbx
call fcn.140037798
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140038a00
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140042e3c
nop
mov ecx, 5
call fcn.140036fbc
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140036fbc
int3
Function at 0x140026fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [r11 - 0x30]
call fcn.14000bd60
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x98]
test r8, r8
je 0x140027063
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140027050
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xf0]
call fcn.140018c60
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14002708c
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x88]
cmp rcx, qword [rsi + 0xf8]
jne 0x140027181
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0xf0]
call fcn.140028650
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.14000b1e0
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140027101
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400270fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002717b
call fcn.140038e94
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140027156
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140027156
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140027156
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140042e3c
nop
lea rcx, [rsp + 0x60]
call fcn.1400283e0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140028350
mov rcx, rax
call fcn.140026430
int3
Function at 0x140027fc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov ebx, ecx
call fcn.140027a40
cmp ebx, 1
jle 0x1400281f5
mov rcx, qword [rdi + 8]
lea r8, str.27D3314D_BF79_4B25_9771_DDA839AD2F08
mov rbx, 0xffffffffffffffff
mov rdx, rbx
nop word [rax + rax]
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x140028036
add rdx, 2
cmp rdx, 0x27
je 0x1400280cd
movzx eax, word [rcx + rdx*2]
cmp ax, word [r8 + rdx*2]
je 0x140028010
lea r8, str.59BD5B92_28D5_4418_99B8_B2355A890A08
mov rdx, rbx
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x140028066
add rdx, 2
cmp rdx, 0x27
je 0x1400281c3
movzx eax, word [rcx + rdx*2]
cmp ax, word [r8 + rdx*2]
je 0x140028040
lea r8, str.7F894B5D_C0CA_46FA_AB32_6469E450DA9E
mov rdx, rbx
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x140028096
add rdx, 2
cmp rdx, 0x27
je 0x1400281e7
movzx eax, word [rcx + rdx*2]
cmp ax, word [r8 + rdx*2]
je 0x140028070
lea rdx, str.95BAD914_0F23_48C3_90D7_55B13B9AF528
nop dword [rax]
movzx eax, word [rcx + rbx*2 + 2]
cmp ax, word [rdx + rbx*2 + 2]
jne 0x140028224
add rbx, 2
cmp rbx, 0x27
je 0x1400281ee
movzx eax, word [rcx + rbx*2]
cmp ax, word [rdx + rbx*2]
je 0x1400280a0
jmp 0x140028224
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
call fcn.14002e210
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x140072190]
movdqu xmmword [rsp + 0x30], xmm1
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 4]
lea rdx, [0x140071100]
lea rcx, [rsp + 0x20]
call fcn.14000b8a0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140028131
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000b8a0
mov r8d, 0xc
lea rdx, str.Fylakas.sys
lea rcx, [rsp + 0x20]
call fcn.14000b8a0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call fcn.14002e510
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140028224
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400281bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028247
call fcn.140038e94
jmp 0x140028224
call fcn.14002f040
lea rcx, str.Fylakas
call fcn.14002fee0
call fcn.14002fa90
lea rcx, str.Switch_Native
call fcn.14002fee0
jmp 0x140028224
call fcn.14002fa90
jmp 0x140028224
call fcn.14002f040
jmp 0x140028224
lea rax, str.Switch_Native
mov qword [rsp + 0x20], rax
lea rax, [0x140030780]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140038a00
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call fcn.140042e3c
int3
Function at 0x140033d90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
mov qword [rbp - 0x70], rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.14005e8e0
mov r8d, 0x104
lea rdx, [rbp - 0x40]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140033f26
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rbx + 6]
lea rdx, [0x14006e87c]
lea rcx, [rsp + 0x70]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
lea rax, str.Could_not_retrieve_Program_Files_directory._Error___
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x36
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140033eec
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140033eec
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140033eec
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140033f60
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033f1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033f8b
call fcn.140038e94
jmp 0x140033f60
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140033f31
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14000b8a0
mov r8d, 0x17
lea rdx, str._switchuninstaller.exe
mov rcx, rsi
call fcn.14000b8a0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140042e3c
nop
int3
Function at 0x140034eb0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140034ed2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140034f4c
mov rdi, r14
mov rcx, rbx
call fcn.140036500
test rax, rax
jle 0x140034f24
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14005e240
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140034f3c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140034f44
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140034ee6
sub r14, rdi
jmp 0x14003502f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140034f63
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140034f65
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140034f97
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14005e240
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003502c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140034fd2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14003500d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14004528c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003502c
cmp rbp, rax
ja 0x140034fe0
test rbp, rbp
je 0x14003502c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14004528c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x140036cf4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140036d2e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140036d33
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140036d7c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140063700]
cmp byte [rcx + rax], 0
je 0x140036d7c
dec r8
sub rdx, 1
jne 0x140036d62
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14003998c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400399d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400399d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400399d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400399d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400399d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400399d8
xor al, al
add rsp, 0x28
ret

Function at 0x1400400b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400400ef
call fcn.140042858
mov dword [rax], 0x16
call fcn.140042e1c
xor eax, eax
jmp 0x14004017d
mov rdx, r9
mov rcx, r8
call fcn.140040054
mov rbx, rax
test rax, rax
je 0x14004017a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14003ff80]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140040167
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400427cc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004014e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004015d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14004baa4
jmp 0x14004017a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140040177
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400436dc
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140040438
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x140043727
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14004375b
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004375b
call fcn.14004c538
xor ebx, ebx
test eax, eax
jne 0x140043749
cmp byte [rbp - 0x48], bl
je 0x140043742
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14004375b
cmp byte [rbp - 0x48], bl
je 0x140043759
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1400401a0
mov esi, eax
test eax, eax
je 0x140043797
call fcn.140042858
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1400437f0
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1400401a0
mov edi, eax
test eax, eax
je 0x1400437d3
call fcn.140042858
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1400437e2
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.140050f2c
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1400437f0
mov rcx, qword [rbp - 0x50]
call fcn.14004baa4
cmp byte [rbp - 8], bl
je 0x1400437fe
mov rcx, qword [rbp - 0x20]
call fcn.14004baa4
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140043df4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140065fd8]
mov rbp, rcx
call fcn.140051338
xor edi, edi
test rax, rax
je 0x140043eda
mov ebx, edi
call fcn.140042858
mov r14d, dword [rax]
call fcn.140042858
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140051284
mov rsi, rax
test rax, rax
je 0x140043e6b
call fcn.140042858
mov dword [rax], r14d
jmp 0x140043e95
call fcn.140042858
cmp dword [rax], 0x22
jne 0x140043ed2
call fcn.140042858
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140051284
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140043ed2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140043e99
cmp rax, 3
je 0x140043eb4
mov rcx, rsi
call fcn.140043d50
test al, al
je 0x140043ec5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140043ec5
mov dil, 1
mov rcx, rbx
call fcn.140042878
mov al, dil
jmp 0x140043edc
mov rcx, rbx
call fcn.140042878
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140044444
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x140044463
call fcn.140051d0c
jmp 0x140044518
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.140040438
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1400444ae
cmp byte [rbp - 0x38], 0
je 0x1400444e3
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400444e3
call fcn.14004c538
test eax, eax
jne 0x1400444cf
cmp byte [rbp - 0x38], al
je 0x1400444c7
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400444e3
cmp byte [rbp - 0x38], 0
je 0x1400444e0
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1400401a0
test eax, eax
je 0x1400444fc
or ebx, 0xffffffff
jmp 0x140044507
mov rcx, qword [rbp - 0x20]
call fcn.140051d0c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x140044516
mov rcx, qword [rbp - 0x20]
call fcn.14004baa4
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x14004882c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140048628