joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc034
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400cbb78
mov ebx, eax
test eax, eax
jne 0x1400cc064
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400cc0c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400cc0b7
test al, 0x10
je 0x1400cc0b7
bt eax, 0xa
jae 0x1400cc0b0
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400cc0d8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400cc0ac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400cc0d0
test edi, edi
jne 0x1400cc0b7
and dword [rsp + 0x3c], 0
jmp 0x1400cc0bc
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400df0fc
int3

Function at 0x1400cdb90
Capabilities:
Parse pe header

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

Function at 0x1400d423c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d425c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400df1f0
or eax, 0xffffffff
jmp 0x1400d425e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400d5e30
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 0x1400d5e67
call fcn.1400df27c
mov dword [rax], 0x16
call fcn.1400d5c58
xor eax, eax
jmp 0x1400d5ef5
mov rdx, r9
mov rcx, r8
call fcn.1400d5dcc
mov rbx, rax
test rax, rax
je 0x1400d5ef2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400d5cf8]
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 0x1400d5edf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400df1f0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d5ec6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400d5ed5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400e5040
jmp 0x1400d5ef2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d5eef
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 0x1400d62ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400cd980
sub rsp, rax
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e36a4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d633b
mov rax, rbp
jmp 0x1400d6443
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1c79b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e7310
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1c79b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d643f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d643f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e7310
test rax, rax
js 0x1400d643f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d643f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d6431
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d6431
cmp byte [rcx], 0xd
jne 0x1400d6417
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d6426
cmp byte [rcx + 1], 0xa
jne 0x1400d6426
inc rcx
jmp 0x1400d6426
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x126660]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d63f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d6443
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ccc80
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e0eb4
Capabilities:
Parse pe header

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

Function at 0x1400e37c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e37da
mov al, 1
jmp 0x1400e383a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e37eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e3838
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400eb1c8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e3838
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e3838
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e3838
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e383a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400e6490
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401c79b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400e64e7
cmp word [rdx], r13w
jne 0x1400e64e7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e64ec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e6611
mov r11d, recvfrom
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e6632
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e6525
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e654c
cmp r9, r8
jae 0x1400e655c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400e6506
jmp 0x1400e6611
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e6606
cmp dword [rsp + 0x80], esi
je 0x1400e6606
lea r8, [0x1401c79b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e65de
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e65ae
mov word [rbx], r13w
jmp 0x1400e660e
mov ecx, recvfrom
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400e65bb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e660e
cmp word [rsp + 0x70], r13w
jne 0x1400e65eb
cmp rbx, r14
je 0x1400e65a8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400e7318
cmp word [rsp + 0x70], r13w
je 0x1400e6611
mov ecx, recvfrom
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401c79b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e660b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e6611
Function at 0x1400ec364
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400ec3eb
mov rsi, rbx
cmp word [rax], bp
je 0x1400ec3aa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400ec394
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400ec390
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400e73bc
mov rdi, rax
test rax, rax
je 0x1400ec3d8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400f7100
mov rbp, rdi
xor ecx, ecx
call fcn.1400e5040
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400eebb8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400e3c84
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400eec59
cmp ebx, dword [rsp + 0x30]
je 0x1400eec52
test esi, esi
je 0x1400eec52
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400eec2d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400eec3a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400eec17
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400eec3e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400eec5b
mov eax, 1
jmp 0x1400eec5b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f2444
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400e7318
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400e7318
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400f2594
cmp rax, 0xffffffffffffffff
je 0x1400f2594
xor edi, edi
test rbp, rbp
jle 0x1400f253f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400e562c
mov rbx, rax
test rax, rax
jne 0x1400f24cc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400f2535
mov edx, 0x8000
mov ecx, r14d
call fcn.1400e1c0c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400e4d38
cmp eax, 0xffffffff
je 0x1400f2515
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400f24dc
mov edx, r15d
mov ecx, r14d
call fcn.1400e1c0c
jmp 0x1400f2535
cmp byte [rsi + 0x38], dil
je 0x1400f252c
cmp dword [rsi + 0x34], 5
jne 0x1400f252c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
cmp byte [rsi + 0x30], dil
je 0x1400f2535
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400e5040
jmp 0x1400f25a8
jns 0x1400f25a8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400e7318
cmp rax, 0xffffffffffffffff
jne 0x1400f2560
cmp byte [rsi + 0x30], dil
je 0x1400f25a8
mov edi, dword [rsi + 0x2c]
jmp 0x1400f25a8
mov ecx, r14d
call fcn.1400eb1c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400f25a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recvfrom
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
jmp 0x1400f25a8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400f25a1
mov eax, dword [rsi + 0x2c]
jmp 0x1400f25a6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400e7318
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400f3770
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f3798
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f3798
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
call fcn.1400010c0
mov ecx, 2
lea rbx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, qword [rsp + 0x30]
mov r8, rbx
mov rcx, rax
call fcn.140001bc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001c10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x50
cmp dword [0x14005ebc0], 0
mov rdi, rdx
jne 0x140001c39
cmp ecx, 1
jne 0x140001d0b
cmp dword [0x140059008], 0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
je 0x140001c9f
test ecx, ecx
je 0x140001c65
cmp ecx, 1
jne 0x140001c5e
lea rbx, str.Deprecation_warning
jmp 0x140001c6c
mov rbx, qword [rsp + 0x30]
jmp 0x140001c6c
lea rbx, str.Parser_warning
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [section..data]
lea rdx, str._s:__s:
mov rcx, rax
mov r9, rbx
call fcn.140001100
mov rdi, qword [rsp + 0x68]
mov dword [0x140059008], 0
mov ecx, 2
lea rsi, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call fcn.140001000
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov rcx, qword [rsp + 0x68]
mov edx, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rax, rax
je 0x140001d0b
cmp dword [0x14005ebc4], 0
je 0x140001d01
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [0x140059008], 1
add rsp, 0x50
pop rdi
ret
Function at 0x1400013e0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rdi, rdx
mov ecx, 0x10
call fcn.140002910
mov rbx, rax
lea rdx, [rsp + 0x60]
lea rax, [0x140008020]
mov rcx, rbx
mov qword [rsp + 0x60], rax
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QTemporaryFile::constructor_class_QString_const____ptr64____ptr64]
lea rax, vtable.QTemporaryFile.0
mov qword [rbx], rax
lea rcx, [rsp + 0x60]
mov qword [rsi], rbx
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsi]
call qword [sym.imp.Qt5Core_conda.dll_public:_bool___cdecl_QTemporaryFile::open_void____ptr64]
test al, al
jne 0x1400014dc
mov r9d, 0xffffffff
lea rdx, str.Cannot_create_temporary_file:__1_n
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140001b30
mov dl, 0x20
lea rcx, [rsp + 0x60]
mov rdi, rax
call fcn.1400011c0
lea rcx, [rsp + 0x70]
movzx edx, byte [rax]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
mov rcx, rsi
movzx ebx, word [rax]
call fcn.140001320
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt5Core_conda.dll_public:_class_QString___cdecl_QIODevice::errorString_void____ptr64]
xor r9d, r9d
mov word [rsp + 0x20], bx
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.Qt5Core_conda.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rcx, rax
call fcn.1400017a0
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x68]
lea rax, [0x140008050]
mov rcx, rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
call fcn.140001370
mov rcx, qword [rsi]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0xd8]
mov rdx, rax
mov rcx, rdi
call fcn.140001370
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rax, [0x140008078]
mov rdx, rdi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
call fcn.1400017e0
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rdi
call fcn.1400011d0
mov rax, rsi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006630
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.14000b230
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400080b0
mov rdi, rax
test rax, rax
jne 0x140006679
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140002010
xor eax, eax
jmp 0x140006788
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140015278
test ebx, ebx
jne 0x1400066b6
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140002010
xor eax, eax
jmp 0x140006780
lea rcx, [rsp + 0x20]
call fcn.140007d30
test eax, eax
je 0x1400066d0
lea rcx, [rsp + 0x20]
call fcn.140017d68
jmp 0x1400066e2
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.140016678
mov rbx, rax
test rax, rax
jne 0x1400066fd
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140002010
xor eax, eax
jmp 0x140006780
xor edx, edx
lea rcx, [rsp + 0x2020]
mov r8d, 0x2000
call fcn.14000c9b0
mov edx, 0x5c
mov rcx, rbx
call fcn.14000c81c
mov rdi, rax
test rax, rax
je 0x140006772
nop word [rax + rax]
mov r8, rdi
lea rcx, [rsp + 0x2020]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.140017dec
xor edx, edx
lea rcx, [rsp + 0x2020]
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000c81c
mov rdi, rax
test rax, rax
jne 0x140006730
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.14000b290
add rsp, 0x4030
pop rdi
ret
Function at 0x140006b60
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2050
call fcn.14000b230
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x2040], rax
xor edi, edi
mov rbp, rdx
mov r15, rcx
mov esi, edi
test rdx, rdx
je 0x140006bed
lea rcx, [0x14002dac4]
call fcn.140006d70
mov rcx, rbp
mov rsi, rax
call fcn.140006630
mov r14, rax
test rax, rax
je 0x140006cbf
mov rdx, rax
lea rcx, [0x14002dac8]
call fcn.1400181b0
mov rcx, r14
mov ebx, eax
call fcn.140015278
test ebx, ebx
je 0x140006bed
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.140002010
xor eax, eax
jmp 0x140006d48
lea rdx, [rsp + 0x40]
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 + 0x20]
call fcn.140007770
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140018e68
mov rcx, rax
mov rbx, rax
call fcn.140007e90
test eax, eax
je 0x140006cc6
mov rcx, rbx
call fcn.140015278
inc edi
cmp edi, 5
jl 0x140006c20
test rbp, rbp
je 0x140006cbf
xor r8d, r8d
lea rdx, [0x14002dac4]
xor ecx, ecx
call fcn.1400080b0
test rsi, rsi
je 0x140006ca9
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400080b0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400181b0
mov rcx, rdi
call fcn.140015278
mov rcx, rbx
call fcn.140015278
mov rcx, rsi
call fcn.140015278
xor eax, eax
jmp 0x140006d48
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.140015278
xor eax, eax
jmp 0x140006d48
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call fcn.1400081c0
mov rcx, rbx
call fcn.140015278
test rbp, rbp
je 0x140006d43
xor r8d, r8d
lea rdx, [0x14002dac4]
xor ecx, ecx
call fcn.1400080b0
test rsi, rsi
je 0x140006d2d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400080b0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400181b0
mov rcx, rdi
call fcn.140015278
mov rcx, rbx
call fcn.140015278
mov rcx, rsi
jmp 0x140006d3e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.140015278
mov eax, 1
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14000b290
mov rbx, qword [rsp + 0x2090]
add rsp, 0x2050
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006d70
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.14000b230
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400080b0
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x140006e06
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.1400081c0
test rax, rax
je 0x140006e06
cmp byte [rax], 0
je 0x140006e06
mov rcx, rax
call fcn.14001ad5c
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000b290
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000b290
add rsp, 0x4038
ret

Function at 0x140007250
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400080b0
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.140015278
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret