joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b140
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.14004a060
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.1400422a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x14006b1e6
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x14006b234
mov rdx, qword [rax + 0x38]
lea rbx, [0x140042c20]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.140071060
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.14003bda0
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x14006b259
cmp qword [rdx + 8], rsi
jae 0x14006b29c
lea rax, [0x140042b20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.140071060
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x14006b2ad
cmp qword [rdx], rax
ja 0x14006b2b3
cmp qword [rdx + 8], rax
jae 0x14006b2ee
lea rax, [0x140042a20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.140071060
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x1404166d8]
mov qword [rsp], rax
call fcn.140071060
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.14004a060
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.1400422a0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x14006dfe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14006e157
movzx edx, byte [rax]
test edx, edx
jne 0x14006e014
nop dword [rax]
test r8b, r8b
jne 0x14006e014
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14006e027
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14006e117
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14006e105
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14006e0f7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14006e07d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14006e0c0
mov eax, 1
cmp rax, rbx
ja 0x14006e0ab
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.140073540
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14006e0ef
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14006e0b3
mov rcx, r11
mov eax, r12d
jmp 0x14006e082
mov rcx, rbx
call fcn.140073480
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140073480
mov eax, r8d
mov rcx, rbx
call fcn.140073540
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14006e14d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14006e110
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14006e02d
mov eax, edx
mov rcx, rbx
call fcn.140073480
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140073480
nop
int3

Function at 0x14006fa60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006fb0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x14005a660]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140071060
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140071180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14006fa60
Function at 0x140149360
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1401494a6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x140149496
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.140154620
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14014947b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x140149491
cmp rsi, rcx
ja 0x140149489
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x140149481
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.140154760
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.140073540
mov rax, rsi
call fcn.140073540
call fcn.140073500
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.140073500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.140071180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.140149360
Function at 0x140149500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140149646
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x140149636
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.1401546c0
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14014961b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x140149631
cmp rsi, rcx
ja 0x140149629
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x140149621
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.140154800
xorps xmm15, xmm15
mov r14, qword [0x1406d8398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.140073540
mov rax, rsi
call fcn.140073540
call fcn.140073500
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.140073500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.140071180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.140149500
Function at 0x1402cdc80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14067d500]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1402cdca0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1402cdca8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1402cdca0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1402cdcf5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1402cdcec
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1402cdca0
add rax, 0x28
cmp rax, r9
jne 0x1402cdcd8
xor eax, eax
ret

Function at 0x1402cdd00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14067d500]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402cdd20
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1402cdd28
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1402cdd20
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1402cddb0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14067d500]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402cddd0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1402cddd8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rdx, str.1.2.11
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x58]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rsi, r9
mov ebp, eax
call fcn.140009110
mov r15d, eax
test eax, eax
je 0x1400010d3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002820
lea eax, [rbp - 1]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.140013790
mov r13, rax
test rax, rax
jne 0x140001109
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140002580
jmp 0x14000126c
mov ecx, 0x2000
call fcn.140013790
mov rbp, rax
test rax, rax
jne 0x140001137
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140002580
jmp 0x14000126c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi]
mov eax, 0x2000
cmp r12, rax
mov rbx, r12
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000e8b8
cmp rax, rbx
jne 0x14000125e
mov rcx, qword [rdi]
call fcn.14000e62c
test eax, eax
jne 0x14000125e
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.1400075d0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000f554
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000e62c
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000b150
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x140001264
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
add rdx, 0x12
mov r8d, edi
call fcn.140002820
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.140008e00
mov rcx, r13
call fcn.14001377c
mov rcx, rbp
call fcn.14001377c
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400012b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov rax, qword [rcx]
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400012f8
add rcx, 0x78
lea rdx, [0x140029510]
call fcn.140003b00
mov qword [r14], rax
test rax, rax
jne 0x1400012f8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002820
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000ebd0
test eax, eax
jns 0x14000132f
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002580
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x20], r15
call fcn.140013790
mov r15, rax
test rax, rax
jne 0x140001364
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002580
jmp 0x140001414
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
jne 0x140001395
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
je 0x140001400
jmp 0x1400013f5
mov ebx, dword [rsi + 0xc]
mov rbp, r15
test rbx, rbx
je 0x140001400
mov r12d, 0x2000
nop word [rax + rax]
mov r9, qword [r14]
cmp rbx, r12
mov rdi, rbx
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000e8b8
cmp rax, 1
jb 0x1400013de
add rbp, rdi
sub rbx, rdi
jne 0x1400013b0
jmp 0x140001400
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002580
mov rcx, r15
call fcn.14001377c
xor r15d, r15d
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x140001428
call fcn.14000e568
mov qword [r14], 0
mov rax, r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140001440
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov r14, rcx
call fcn.1400061d0
cmp eax, 0xffffffff
jne 0x140001462
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
lea rcx, [r14 + 0x3078]
lea rbp, [rdi + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.1400064f0
mov r12, rax
test rax, rax
jne 0x1400014a7
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002580
lea eax, [r12 - 1]
jmp 0x140001635
mov rax, qword [r14]
test rax, rax
jne 0x1400014e0
lea rcx, [r14 + 0x78]
lea rdx, [0x140029510]
call fcn.140003b00
mov qword [r14], rax
test rax, rax
jne 0x1400014e0
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002820
mov ebx, 0xffffffff
jmp 0x140001617
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000ebd0
test eax, eax
jns 0x140001516
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002580
mov ebx, 0xffffffff
jmp 0x140001617
cmp byte [rdi + 0x10], 1
jne 0x140001534
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140001050
mov ebx, eax
jmp 0x140001617
mov qword [rsp + 0x28], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x20], r15
mov ecx, r13d
call fcn.140013790
mov r15, rax
test rax, rax
jne 0x140001575
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002580
lea ebx, [r15 - 1]
jmp 0x14000160d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001605
mov qword [rsp + 0x58], rsi
nop word [rax + rax]
mov r9, qword [r14]
cmp rdi, r13
mov rsi, rdi
mov r8d, 1
cmova rsi, r13
mov rcx, r15
mov rdx, rsi
call fcn.14000e8b8
cmp rax, 1
jb 0x1400015e5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r15
call fcn.14000f554
cmp rax, 1
jb 0x1400015d5
sub rdi, rsi
jne 0x140001590
jmp 0x140001600
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400015f3
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.140002580
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r15
call fcn.14001377c
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000162b
call fcn.14000e568
mov qword [r14], 0
mov rcx, r12
call fcn.14000e568
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
Function at 0x140005f60
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.14000a3b0
sub rsp, rax
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140007250
mov rdi, rax
test rax, rax
jne 0x140005fa9
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140002820
xor eax, eax
jmp 0x140006092
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x2020]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.14001377c
test ebx, ebx
jne 0x140005fe9
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140002820
xor eax, eax
jmp 0x14000608a
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
xor ecx, ecx
call fcn.140014a28
mov rbx, rax
test rax, rax
jne 0x140006016
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140002820
xor eax, eax
jmp 0x14000608a
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
call fcn.14000b800
mov edx, 0x5c
mov rcx, rbx
call fcn.14000bb3c
mov rdi, rax
test rax, rax
je 0x14000607c
nop dword [rax]
mov r8, rdi
lea rcx, [rsp + 0x20]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.140015604
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000bb3c
mov rdi, rax
test rax, rax
jne 0x140006040
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x4048]
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000a410
add rsp, 0x4030
pop rdi
ret

Function at 0x1400060b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.14000a3b0
sub rsp, rax
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x140029510]
call fcn.140003b00
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.1400064f0
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400061a3
mov rcx, rsi
test rax, rax
je 0x1400061ab
call fcn.14000e600
test eax, eax
jne 0x14000618f
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000e8b8
test rax, rax
jne 0x14000614e
mov rcx, rsi
call fcn.14000e62c
test eax, eax
je 0x140006174
mov rcx, rsi
jmp 0x140006185
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000f554
test rax, rax
je 0x140006182
mov rcx, rbx
call fcn.14000e62c
test eax, eax
jne 0x140006182
mov rcx, rsi
call fcn.14000e600
test eax, eax
je 0x140006120
jmp 0x14000618f
mov rcx, rbx
call fcn.140016f9c
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14000e568
mov rcx, rbx
call fcn.14000e568
mov eax, edi
jmp 0x1400061b5
test rbx, rbx
je 0x1400061b0
mov rcx, rbx
call fcn.14000e568
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a410
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006230
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x2060
call fcn.14000a3b0
sub rsp, rax
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x1400062bb
lea rcx, [0x14002b9d4]
call fcn.140006440
mov rcx, rbp
mov rsi, rax
call fcn.140005f60
mov rdi, rax
test rax, rax
je 0x14000638f
mov rdx, rax
lea rcx, [0x14002b9d8]
call fcn.140015cf0
mov rcx, rdi
mov ebx, eax
call fcn.14001377c
test ebx, ebx
je 0x1400062c0
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.140002820
xor eax, eax
jmp 0x140006418
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140002520
xor ebx, ebx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140016f80
mov rcx, rax
mov rdi, rax
call fcn.1400070c0
test eax, eax
je 0x140006396
mov rcx, rdi
call fcn.14001377c
inc ebx
cmp ebx, 5
jl 0x1400062f0
test rbp, rbp
je 0x14000638f
xor r8d, r8d
lea rdx, [0x14002b9d4]
xor ecx, ecx
call fcn.140007250
test rsi, rsi
je 0x140006379
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140007250
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140015cf0
mov rcx, rdi
call fcn.14001377c
mov rcx, rbx
call fcn.14001377c
mov rcx, rsi
call fcn.14001377c
xor eax, eax
jmp 0x140006418
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14001377c
xor eax, eax
jmp 0x140006418
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.140007360
mov rcx, rdi
call fcn.14001377c
test rbp, rbp
je 0x140006413
xor r8d, r8d
lea rdx, [0x14002b9d4]
xor ecx, ecx
call fcn.140007250
test rsi, rsi
je 0x1400063fd
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140007250
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140015cf0
mov rcx, rdi
call fcn.14001377c
mov rcx, rbx
call fcn.14001377c
mov rcx, rsi
jmp 0x14000640e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14001377c
mov eax, 1
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14000a410
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret