joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800019a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180036038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edi, dword [rcx]
mov rbx, rdx
mov rsi, rcx
mov edx, edi
lea rcx, str.Application_requested_vm3ddevapi_version__d_n
call fcn.180006d50
cmp edi, 2
jbe 0x180001a07
xor ecx, ecx
call fcn.180007360
test al, al
je 0x1800019fa
mov r8d, edi
lea rdx, str.GetInterface
lea rcx, str._s:_Invalid_version_specified:__u._n
call fcn.180006d50
and dword [rsi], 0
mov eax, 0xc00000bb
jmp 0x180001b9b
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov eax, 0xc0
mov dword [rsp + 0x24], 0x28
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x3c], eax
xor eax, eax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x2c], 0xb8
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x38], 0x3e7
cmp edi, dword [rcx]
je 0x180001a59
inc eax
add rcx, 8
cmp eax, 4
jb 0x180001a48
jmp 0x180001a68
mov r8d, dword [rsp + rax*8 + 0x24]
xor edx, edx
mov rcx, rbx
call fcn.1800099c0
lea rax, [0x180001bf0]
mov qword [rbx], rax
lea rax, [0x180001890]
mov qword [rbx + 8], rax
lea rax, [0x1800016c0]
mov qword [rbx + 0x10], rax
test edi, edi
jne 0x180001aa2
lea rax, [0x180001d80]
mov qword [rbx + 0x18], rax
lea rax, [0x180003f80]
mov qword [rbx + 0x20], rax
cmp edi, 1
jl 0x180001b86
lea rax, [0x180003720]
mov qword [rbx + 0x28], rax
lea rax, [0x180002220]
mov qword [rbx + 0x30], rax
lea rax, [0x180002b40]
mov qword [rbx + 0x38], rax
lea rax, [0x180003380]
mov qword [rbx + 0x40], rax
lea rax, [0x180002b30]
mov qword [rbx + 0x48], rax
lea rax, [0x180002460]
mov qword [rbx + 0x50], rax
lea rax, [0x180003950]
mov qword [rbx + 0x58], rax
lea rax, [0x1800036e0]
mov qword [rbx + 0x60], rax
lea rax, [0x180003450]
mov qword [rbx + 0x68], rax
lea rax, [0x1800034a0]
mov qword [rbx + 0x70], rax
lea rax, [0x180003500]
mov qword [rbx + 0x78], rax
lea rax, [0x1800035b0]
mov qword [rbx + 0x80], rax
lea rax, [0x180002ee0]
mov qword [rbx + 0x88], rax
lea rax, [0x180003410]
mov qword [rbx + 0x90], rax
lea rax, [0x1800036a0]
mov qword [rbx + 0x98], rax
lea rax, [0x180003650]
mov qword [rbx + 0xa0], rax
lea rax, [0x180003600]
mov qword [rbx + 0xa8], rax
lea rax, [0x180002d50]
mov qword [rbx + 0xb0], rax
cmp edi, 2
jl 0x180001b99
lea rax, [0x1800032f0]
mov qword [rbx + 0xb8], rax
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180008710
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180005958
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180036038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r9, [r11 - 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180029738]
xor ebx, ebx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
jns 0x1800059c0
xor ecx, ecx
call fcn.180007360
test al, al
je 0x1800059b9
mov r8d, edi
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_get_system_folder:_0x_08x_n
call fcn.180006d50
xor al, al
jmp 0x180005b25
mov rcx, qword [rsp + 0x20]
or r8, 0xffffffffffffffff
mov rax, r8
inc rax
cmp word [rcx + rax*2], bx
jne 0x1800059cc
lea edi, [rax + 0xc]
mov eax, 2
mul rdi
cmovo rax, r8
mov rcx, rax
call fcn.18000c50c
mov rbp, rax
test rax, rax
jne 0x180005a1b
xor ecx, ecx
call fcn.180007360
test al, al
je 0x180005b10
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_allocate_user32_path_buffer._n
call fcn.180006d50
jmp 0x180005b10
mov r8, qword [rsp + 0x20]
mov rdx, rdi
mov rcx, rbp
call fcn.18000c594
lea r8, str.user32.dll
mov rdx, rdi
mov rcx, rbp
call fcn.18000c514
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180037d08], rax
test rax, rax
jne 0x180005a82
xor ecx, ecx
call fcn.180007360
test al, al
je 0x180005b10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_load_user32.dll:__u_n
call fcn.180006d50
jmp 0x180005b10
mov edi, ebx
lea rsi, [0x180036008]
mov rdx, qword [rsi - 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsi]
mov qword [rax], rcx
mov rax, qword [rsi]
cmp qword [rax], rbx
je 0x180005abd
inc edi
add rsi, 0x10
cmp edi, 3
jae 0x180005aef
mov rax, qword [0x180037d08]
jmp 0x180005a8b
xor ecx, ecx
call fcn.180007360
test al, al
je 0x180005aec
lea rax, section..data
mov r8d, edi
add r8, r8
lea rdx, str.VM3DDevAPIRSLoadCCDAPI
lea rcx, str._s:_Unable_to_find__s_in_user32.dll._n
mov r8, qword [rax + r8*8]
call fcn.180006d50
cmp edi, 3
jne 0x180005b0b
xor r8d, r8d
xor r9d, r9d
lea edx, [r8 + 1]
lea ecx, [rdx + 5]
call fcn.180005d18
test al, al
je 0x180005b47
mov bl, 1
jmp 0x180005b10
call fcn.1800068a0
mov rcx, rbp
call fcn.18000c4f8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180008710
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov r8d, 0xa3
lea rdx, str.d:_buildob_bora_14243573_bora_vmsoft_build_release_x64_svgawddm_srcdevapi_resolutionset.c
lea rcx, str.VERIFY__s:_d_n
call fcn.180007de0
int3
Function at 0x180007060
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x180036038]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x180036b08]
lea r9, [0x1800581c0]
mov dword [rsp + 0x28], eax
lea r8, str.C:_vm3dum_log_vm3dum_s__d__d.log
mov eax, dword [0x180058190]
lea rcx, [0x1800581e0]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.1800074b0
mov r8d, 0x20
lea rdx, [0x180029854]
lea rcx, [0x1800581e0]
call fcn.18000d2d4
mov rsi, rax
test rax, rax
je 0x18000716f
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_vm3dum_log_vm3dum.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180007153
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180007131
inc ebx
cmp ebx, 0x200
ja 0x180007131
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180007115
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x180007153
mov qword [0x180036b00], rsi
jmp 0x180007167
mov rcx, rsi
call fcn.18000ce34
lea rcx, [0x1800581e0]
call fcn.18000d454
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180008710
add rsp, 0x180
pop rsi
ret

Function at 0x180007290
Capabilities:
Enumerate files on windows

Disassembly:
movups xmm0, xmmword [rcx]
movups xmmword [0x180058160], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [0x180058170], xmm1
movups xmm0, xmmword [rcx + 0x20]
mov ecx, dword [0x180058150]
movups xmmword [0x180058180], xmm0
test ecx, ecx
je 0x180007328
sub ecx, 1
je 0x180007314
sub ecx, 1
je 0x180007300
sub ecx, 1
je 0x1800072ec
cmp ecx, 1
je 0x1800072d8
xor eax, eax
mov dword [0x18005814c], eax
jmp 0x18000733a
mov eax, dword [0x180058170]
mov dword [0x18005814c], eax
mov eax, dword [0x180058188]
jmp 0x18000733a
mov eax, dword [0x18005816c]
mov dword [0x18005814c], eax
mov eax, dword [0x180058184]
jmp 0x18000733a
mov eax, dword [0x180058168]
mov dword [0x18005814c], eax
mov eax, dword [0x180058180]
jmp 0x18000733a
mov eax, dword [0x180058164]
mov dword [0x18005814c], eax
mov eax, dword [0x18005817c]
jmp 0x18000733a
mov eax, dword [0x180058160]
mov dword [0x18005814c], eax
mov eax, dword [0x180058178]
cmp byte [0x18005818c], 0
mov dword [0x180058148], eax
je 0x180007357
cmp qword [0x180036b00], 0
je fcn.180007060
ret

Function at 0x180008130
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x180036038]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.180006d50
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x18001c014
Capabilities:
Delete file

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

Function at 0x180025910
Capabilities:
Reference the vmware io port

Disassembly:
mov eax, 0x5658
mov dword [rcx], 0x564d5868
mov word [rcx + 0x18], ax
jmp 0x180025970
push rbx
push rsi
push rdi
mov rax, rcx
push rax
mov rdi, qword [rax + 0x28]
mov rsi, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rax]
in eax, dx
xchg qword [rsp], rax
mov qword [rax + 0x28], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 8], rbx
pop qword [rax]
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000210c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002156
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002156
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002156
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002156
cmp dword [rcx + 0x84], 0xe
jbe 0x140002156
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002158
xor al, al
add rsp, 0x28
ret
Function at 0x140005250
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rdi
sub rsp, 0x4b0
mov rax, qword [0x140031010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rcx, str.Start_n
call fcn.140001080
call fcn.140004a80
test eax, eax
je 0x14000542a
call fcn.140004e40
test eax, eax
je 0x14000542a
lea rdx, [rsp + 0x290]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14000542a
lea rax, [rsp + 0x290]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400052c0
movsd xmm0, qword [0x1400298b0]
xorps xmm1, xmm1
movsd qword [rax], xmm0
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
lea rax, [rsp + 0x290]
movdqu xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm1
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140005300
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x20]
call fcn.140006fe0
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000538c
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14000542a
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005425
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005435
jmp 0x140005425
mov qword [rsp + 0x4c0], rbx
xor ebx, ebx
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400053a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x38]
cmp ebx, 0x1e
mov rbx, qword [rsp + 0x4c0]
jl 0x140005347
cmp rdx, 8
jb 0x14000540c
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005407
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005435
call fcn.140008890
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140008870
add rsp, 0x4b0
pop rdi
ret
call fcn.140008890
mov ecx, 1
call fcn.14000ec08
int3
call fcn.14001193c
int3
Function at 0x140005470
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x96050
call fcn.14001e810
sub rsp, rax
mov rax, qword [0x140031010]
xor rax, rsp
mov qword [rsp + 0x96040], rax
mov rdi, rdx
mov dword [rsp + 0x20], 0
mov rbx, rcx
xor edx, edx
lea rcx, str.Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10_7_4__AppleWebKit_537.13__KHTML__like_Gecko__Chrome_24.0.1290.1_Safari_537.13
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
test rax, rax
je 0x14000552a
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14000552a
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x96000
call fcn.14000a770
lea r9, [rsp + 0x30]
mov r8d, 0x96000
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000552a
mov r8d, 0x96000
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000e290
xor eax, eax
mov rcx, qword [rsp + 0x96040]
xor rcx, rsp
call fcn.140008870
mov rbx, qword [rsp + 0x96070]
add rsp, 0x96050
pop rdi
ret
Function at 0x140007dfc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140007e80
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140020420]
cmp byte [rcx + rax], 0
je 0x140007e80
dec r8
sub rdx, 1
jne 0x140007e66
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140009340
Capabilities:
Parse pe header

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

Function at 0x14000ec08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ea73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ea73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ea73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ea73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ea73
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ea73
cmp dword [rcx + 0xf8], 0
je 0x14000ea73
mov ecx, ebx
call fcn.14000eb24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000e900
nop
cmp dword [rbp + 0x20], 0
je 0x14000eac1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000eacc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000ea04
Function at 0x1400177c0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400177f0
xor eax, eax
jmp 0x1400178b3
mov rbp, rbx
cmp word [rax], si
je 0x140017815
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400177fc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400177f8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400176e0
movsxd r14, eax
test eax, eax
jne 0x140017853
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400177e9
mov rcx, r14
call fcn.140014a7c
mov rdi, rax
test rax, rax
jne 0x14001786c
xor ecx, ecx
call fcn.140013150
jmp 0x140017848
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400176e0
test eax, eax
jne 0x14001789d
mov rcx, rdi
call fcn.140013150
jmp 0x1400178a7
xor ecx, ecx
call fcn.140013150
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400178d0
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 0x140017957
mov rsi, rbx
cmp word [rax], bp
je 0x140017916
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140017900
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400178fc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140014a7c
mov rdi, rax
test rax, rax
je 0x140017944
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000e290
mov rbp, rdi
xor ecx, ecx
call fcn.140013150
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 0x14001ba8c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001baa2
mov al, 1
jmp 0x14001bb02
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001bab3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001bb00
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001860c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bb00
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bb00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bb00
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001bb02
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001c608
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000edbc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001c692
cmp byte [rbp - 0x21], r15b
je 0x14001c68d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001c6c8
call fcn.1400133a0
test eax, eax
jne 0x14001c6b4
cmp byte [rbp - 0x21], r15b
je 0x14001c6ac
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001c6c8
cmp byte [rbp - 0x21], r15b
je 0x14001c6c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400163f8
test eax, eax
jne 0x14001c768
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000edbc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001c707
cmp byte [rbp - 0x21], r15b
je 0x14001c73c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001c73c
call fcn.1400133a0
test eax, eax
jne 0x14001c728
cmp byte [rbp - 0x21], r15b
je 0x14001c721
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001c73c
cmp byte [rbp - 0x21], r15b
je 0x14001c739
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400163f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001c768
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001c76b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001c779
mov rcx, rdi
call fcn.140013150
cmp byte [rbp + 0x3f], r15b
je 0x14001c788
mov rcx, qword [rbp + 0x27]
call fcn.140013150
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001e740
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001e768
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001e768
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001538
Capabilities:
Create device object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
lea rax, [0x140001830]
mov dword [rsp + 0x40], 0x20001e
mov qword [r11 - 0x20], rax
lea r8, [r11 - 0x28]
lea rax, [r11 + 0x18]
mov r9d, 0x22
mov qword [r11 - 0x38], rax
xor edx, edx
mov byte [rsp + 0x28], 0
mov rbx, rcx
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x140001587
lfence
jmp 0x1400015f1
lea rax, [0x140001850]
mov dword [rsp + 0x50], 0x180016
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
lfence
test eax, eax
jns 0x1400015c4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x1400015ef
lea rax, [0x140001500]
mov qword [rbx + 0x68], rax
lea rax, section..text
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x70], rax
lea rax, [0x140001120]
mov qword [rbx + 0xe0], rax
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret