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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000fe1e
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x14000fe53
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x14000fe40
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140010970
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000fe7c
mov qword [r14], rax
mov byte [r14 + 8], r13b
jmp 0x140010023
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x14001003e
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lfence
mov ecx, 0x48
call fcn.140091bc8
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140008e10
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], r13
mov qword [rsi + 0x40], r13
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
movss xmm3, dword [rbp]
xorps xmm0, xmm0
test rcx, rcx
js 0x14000fee7
cvtsi2ss xmm0, rcx
jmp 0x14000fefc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x14000ff0f
cvtsi2ss xmm2, rdi
jmp 0x14000ff27
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x14000ffc7
divss xmm0, xmm3
call fcn.1400c3908
xor ecx, ecx
movss xmm1, dword [0x1400eb130]
comiss xmm0, xmm1
jb 0x14000ff6a
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000ff6a
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x14000ff9c
cmp rdi, 0x200
jae 0x14000ff99
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x14000ff9c
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.140010690
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140010970
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140010004
mov qword [rcx + rax*8], rsi
jmp 0x140010016
cmp r9, rdx
jne 0x14001000f
mov qword [rcx + rax*8], rsi
jmp 0x14001001b
cmp qword [rcx + rax*8 + 8], r8
jne 0x14001001b
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400935c0
int3
Function at 0x140010b90
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor eax, eax
mov qword [rcx], rax
lea ecx, [rax + 0x28]
call fcn.140091bc8
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
lea rcx, vtable.CommandLine.0
mov qword [rax], rcx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], r15d
mov qword [r14], rax
mov dword [rsp + 0x20], 3
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
test rax, rax
je 0x140010d18
mov edi, r15d
cmp dword [rsp + 0x58], r15d
jle 0x140010d0f
mov rsi, rax
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [r14]
mov rdx, qword [rsi]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010c70
lea rcx, [rsp + 0x28]
call fcn.140009140
nop
mov rdx, qword [rbx + 0x10]
cmp rdx, qword [rbx + 0x18]
je 0x140010cb3
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], r15w
add qword [rbx + 0x10], 0x20
jmp 0x140010cc6
lea r8, [rsp + 0x28]
lea rcx, [rbx + 8]
call fcn.140011030
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140010cff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010cfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d3c
call fcn.140091bc0
inc edi
add rsi, 8
cmp edi, dword [rsp + 0x58]
jl 0x140010c40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140091ba0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14009b188
int3
Function at 0x1400113a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 8], rcx
xor esi, esi
mov dword [rbp - 0x50], esi
lea rdi, [0x140111880]
cmp word [0x140111880], si
jne 0x1400113ec
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov r8d, 6
lea rdx, str.Sophos
lea rcx, [rbp - 0x48]
call fcn.140009140
nop
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x140011432
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140009140
nop
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.1400853e0
mov dword [rbp - 0x50], 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400114a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001149c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400115f4
call fcn.140091bc0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400114e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400114dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400115fa
call fcn.140091bc0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov r8d, 5
lea rdx, str.Clean
lea rcx, [rbp - 0x48]
call fcn.140009140
nop
lea r8, [rbp - 0x48]
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400853e0
mov rdi, rax
cmp rbx, rax
je 0x14001154a
mov rcx, rbx
call fcn.1400090d0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140011586
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011581
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011600
call fcn.140091bc0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400115d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400115cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400115ee
call fcn.140091bc0
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14009b188
nop
call fcn.14009b188
nop
call fcn.14009b188
nop
call fcn.14009b188
int3
Function at 0x1400157e0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, rdx
xor dil, dil
mov byte [rsp + 0x40], dil
cmp qword [rcx + 0x18], 8
jb 0x140015815
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140015915
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0x100000
jbe 0x140015885
lfence
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xdf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x140015919
lfence
mov rcx, r14
call fcn.140091f5c
mov rsi, rax
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140096c20
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400158f2
mov eax, dword [rsp + 0x50]
cmp eax, r14d
je 0x1400158dc
mov ecx, 0x12b
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400158f2
mov r8, rax
mov rdx, rsi
mov rcx, r12
call fcn.140009300
mov dil, 1
mov byte [rsp + 0x40], dil
test rsi, rsi
je 0x140015900
mov rcx, rsi
call fcn.140091bc0
nop
jmp 0x14001590c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140091ba0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001bec0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
call fcn.14001bf70
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14001bf51
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bf38
cmp dword [rsp + 0x30], eax
setne al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x40
pop rbx
ret
cmp eax, 0x3fa
jne 0x14001bf51
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x38], 0
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x40
pop rbx
ret
Function at 0x14002cda0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
cmp qword [rcx + 0x18], 0
jbe 0x14002cf9d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x40]
call fcn.140096c20
lea rdi, [rbx + 8]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002d070
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x50], 6
je 0x14002ce43
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14002ce32
cmp qword [rdi + 0x18], 8
jb 0x14002ce20
mov rdi, qword [rdi]
mov r8, rdi
mov edx, eax
lea rcx, str.Error__d_while_reading_from___s_
call fcn.14007de10
nop
lea rcx, [rsp + 0x40]
call fcn.14002cfd0
xor al, al
jmp 0x14002cf9f
xor eax, eax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], 0xf
mov byte [rsp + 0x150], al
lea rax, [rsp + 0x40]
add rcx, rax
mov dl, 0xa
call fcn.14002a720
movzx r8d, al
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.14002f0a0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14002cf49
lea rdx, [0x140107730]
cmp qword [0x140107748], 0x10
cmovae rdx, qword [0x140107730]
lea rcx, [rsp + 0x150]
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x168]
cmp rsi, 0x10
cmovae rcx, rdi
mov r8, qword [rsp + 0x160]
cmp r8, qword [0x140107740]
jne 0x14002cf59
call fcn.140097570
test eax, eax
jne 0x14002cf59
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
mov dl, 0xa
call fcn.14002a720
movzx r8d, al
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.14002f0a0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14002cf49
cmp qword [rsp + 0x160], 0
jbe 0x14002cef0
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.14002c7f0
jmp 0x14002cef0
mov rsi, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x150]
cmp rsi, 0x10
jb 0x14002cf8d
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002cf84
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cfc4
mov rcx, rdi
call fcn.140091bc0
nop
lea rcx, [rsp + 0x40]
call fcn.14002cfd0
jmp 0x14002cf9d
mov al, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140091ba0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14009b188
int3
Function at 0x14002d5e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14002d602
xor eax, eax
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14002d68e
lfence
mov rdi, rbp
nop dword [rax]
mov rcx, rbx
call fcn.140022e10
test rax, rax
jle 0x14002d65e
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rsi, rdi
mov rcx, r14
cmovge rsi, rax
mov r8, rsi
mov rdx, qword [rdx]
call fcn.140096e20
mov rax, qword [rbx + 0x50]
sub rdi, rsi
sub dword [rax], esi
mov rcx, qword [rbx + 0x38]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14002d67e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14007fe1f.0]
cmp eax, 0xffffffff
je 0x14002d686
mov byte [r14], al
dec rdi
mov esi, 1
add r14, rsi
test rdi, rdi
jg 0x14002d620
sub rbp, rdi
jmp 0x14002d778
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002d6a5
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002d6a7
xor ecx, ecx
movsxd rax, ecx
mov rdi, rbp
test ecx, ecx
je 0x14002d6dc
cmp rax, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140096e20
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
mov rdi, rsi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002d772
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002d717
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 rdi, 0xfff
jbe 0x14002d750
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400a3228
sub rsi, rax
add r14, rax
mov rdi, rsi
cmp rax, 0xfff
jne 0x14002d772
cmp rsi, rax
ja 0x14002d720
test rdi, rdi
je 0x14002d772
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400a3228
mov rsi, rdi
sub rsi, rax
sub rbp, rsi
lfence
mov rsi, qword [rsp + 0x28]
mov rax, rbp
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
Function at 0x140035770
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rbx, [0x140111460]
cmp word [0x140111460], 0
jne 0x1400357bb
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], ax
jne 0x1400357e0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140009140
nop
lea rsi, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 8
cmovae rsi, r9
lea rax, [rsp + 0x20]
cmovae rax, r9
mov r10, qword [rsp + 0x30]
lea rbp, [rax + r10*2]
lea rbx, [rsp + 0x20]
cmovae rbx, r9
cmp rbx, rbp
je 0x14003586b
sub rsi, rbx
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x14010d100]
movzx ecx, word [rbx]
call fcn.1400a3c7c
mov word [rsi + rbx], ax
add rbx, 2
cmp rbx, rbp
jne 0x140035840
mov r14, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov r9, qword [rsp + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400358e4
lea rax, [rsp + 0x20]
cmp r14, 8
cmovae rax, r9
mov r11, r10
cmp rcx, r10
cmovb r11, rcx
cmp qword [rdi + 0x18], 8
jb 0x140035895
mov rdi, qword [rdi]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x1400358d9
movzx edx, word [rdi]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400358e0
sub rdi, rax
cmp dx, r8w
ja 0x1400358e0
cmp rcx, 1
je 0x1400358d9
dec rcx
add rax, 2
movzx edx, word [rdi + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400358b8
xor bl, bl
jmp 0x1400358e6
cmp r11, r10
jb 0x1400358e0
jbe 0x1400358e4
xor bl, bl
jmp 0x1400358e6
mov bl, 1
cmp r14, 8
jb 0x14003591d
lea rdx, [r14*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140035915
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035948
mov rcx, r9
call fcn.140091bc0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140091ba0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
call fcn.14009b188
int3
Function at 0x140037f70
Capabilities:
Hash data using sha1

Disassembly:
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx + 8], xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x48], xmm0
mov qword [rdx + 0x58], rax
mov dword [rdx + 0x60], eax
mov al, 1
mov dword [rdx + 0x10], 0x67452301
mov dword [rdx + 0x14], 0xefcdab89
mov dword [rdx + 0x18], 0x98badcfe
mov dword [rdx + 0x1c], 0x10325476
mov dword [rdx + 0x20], 0xc3d2e1f0
ret
Function at 0x14003bb00
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rcx
lea rax, [rbp + 0x78]
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, rdx
lea rdx, [rsp + 0x60]
call fcn.14003b930
cmp byte [rbx + 8], r14b
je 0x14003bb7f
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rsi, qword [rsp + 0x70]
lea rdi, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
cmovae rdi, rcx
cmp qword [rbx + 0x30], 0xffffffffffffffff
je 0x14003bc48
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp - 0x6a]
movzx ecx, word [rbp - 0x6c]
movzx edx, word [rbp - 0x6e]
movzx r8d, word [rbp - 0x70]
movzx r9d, word [rbp - 0x72]
movzx r10d, word [rbp - 0x76]
movzx r11d, word [rbp - 0x78]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r9, str._04u__02u__02uT_02u:_02u:_02u._03uZ
mov edx, 0x40
lea r8, [rdx - 0x41]
lea rcx, [rbp - 0x60]
call fcn.140039ba0
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r8d, [rsi + rsi]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
mov rdx, rdi
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov r8, qword [rbx + 0x80]
test r8, r8
je 0x14003bc72
mov rax, qword [r8]
lea rdx, [rsp + 0x60]
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x14007fe1f.0]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14003bca6
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bca1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bcc0
call fcn.140091bc0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14009b188
int3
Function at 0x14003bcd0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x68
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx + 8], 0
je 0x14003bd90
lea rcx, [r11 + 0x20]
xor eax, eax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], 7
mov word [rsp + 0x30], ax
mov qword [r11 - 0x48], rcx
mov r9, r8
mov r8, rdx
lea rdx, [r11 - 0x38]
call fcn.14003b930
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003bd7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bd77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bda4
call fcn.140091bc0
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x68
ret
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x68
ret
call fcn.14009b188
int3