joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1740
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str._5_v_]
mov rdi, rax
test rax, rax
jne 0x1400b1782
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b17c9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b1822
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b17e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b1863
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c536a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c536b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b1830
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b1880
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 0x1400b18ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b18bf
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 0x1400b1908
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400b1908
dec r8
sub rdx, 1
jne 0x1400b18ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b31b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b3202
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b3202
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b3202
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b3202
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b3202
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b3204
xor al, al
add rsp, 0x28
ret
Function at 0x18000b950
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push rbx
push r12
sub rsp, 0x68
mov r12d, edx
mov rbx, rcx
test rcx, rcx
jne 0x18000b96e
or eax, 0xffffffff
add rsp, 0x68
pop r12
pop rbx
ret
mov qword [rsp + 0x88], rsi
mov rsi, qword [rcx + 8]
mov qword [rsp + 0x90], rdi
mov rdi, qword [rcx + 0x10]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x58]
xor edx, edx
mov rax, rsi
div rcx
add rdi, rdx
sub rsi, rdx
mov r15, rdx
cmp rdi, qword [rbx + 0x10]
jae 0x18000b9b9
or eax, 0xffffffff
jmp 0x18000ba64
mov qword [rsp + 0x98], r14
mov r14d, edi
cmp r14, rdi
je 0x18000b9d1
or eax, 0xffffffff
jmp 0x18000ba5c
mov ecx, r12d
mov qword [rsp + 0x80], rbp
call fcn.18000d294
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea r8d, [rcx + 2]
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
test rax, rax
je 0x18000ba4f
mov r8, rsi
mov r9d, esi
mov edx, 4
mov rcx, rax
shr r8, 0x20
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x18000ba46
mov ecx, 0x28
call fcn.18000c134
mov rcx, rax
test rax, rax
jne 0x18000ba81
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffef
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x60]
add rsp, 0x68
pop r12
pop rbx
ret
mov dword [rax], r12d
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rsi
lea rax, [rsi + r15]
mov qword [rcx + 0x18], rax
lea rax, [rsi + rdi]
mov qword [rcx + 0x20], rax
lea rax, [0x18000bc50]
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rax
lea rax, [0x18000bcd0]
mov qword [rbx + 0x30], rax
xor eax, eax
jmp 0x18000ba54
Function at 0x140006064
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005e90
Function at 0x6b00bfb0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.6b014160
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.6b014160
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x6b00c020
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x6b19b5e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x6b00c1c8
mov rax, qword [0x6b19b5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6b00c06c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6b00c0f7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x6b00c050
mov rcx, r12
call fcn.6b00cd20
mov rbp, rax
test rax, rax
je 0x6b00c202
mov rax, qword [0x6b19b5e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.6b00ce50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6b19b5e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6b00c211
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6b00c0f0
sub eax, 4
and eax, 0xfffffffb
jne 0x6b00c180
add dword [0x6b19b5e4], 1
cmp ebx, 8
jae 0x6b00c128
test bl, 4
jne 0x6b00c1d0
test ebx, ebx
je 0x6b00c119
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6b00c1f0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6b00c119
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6b00c15a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x6b19b5e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6b00c0f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6b00bfb0
nop dword [rax]
xor edi, edi
jmp 0x6b00c077
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6b00c119
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6b00c119
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.6b00bfb0
mov rax, qword [0x6b19b5e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.6b00bfb0
nop
nop dword [rax]
Function at 0x6b00c990
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6b19b8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6b19b8a0]
test rbx, rbx
je 0x6b00c9e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6b00c9db
test r12, r12
je 0x6b00c9db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6b00c9c0
lea rcx, [0x6b19b8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6b00cd20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6b0c00c0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6b00cd99
mov rcx, r10
call fcn.6b00cbf0
test eax, eax
je 0x6b00cd99
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6b00cd96
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6b00cd8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6b00cd99
add r8, 0x28
cmp r8, r9
jne 0x6b00cd78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x6b00d0a0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x6b19b8a8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x6b00ca20
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x6b00ca73
mov dword [rax], edi
lea rcx, [0x6b19b8c0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x6b19b8a0]
lea rcx, [0x6b19b8c0]
mov qword [0x6b19b8a0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x6b00ca16
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x6b00d0d0
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x6b014300
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x6b014310
xor eax, eax
ret
jmp 0x6b00ca00

Function at 0x6b00d110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x6b00d150
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6b00d168
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x6b018680
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b60b0]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018718
mov rcx, qword [0x6b0b6920]
lea rax, [rsp + 0x58]
lea rdx, [0x6b0b7073]
mov qword [rsp + 0x28], rax
call fcn.6b014b20
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6b0b6920]
mov rdx, r12
call fcn.6b00db40
mov rcx, qword [0x6b0b6920]
lea rdx, [0x6b0b707a]
call fcn.6b014b20
mov ecx, 2
call rbx
mov rcx, qword [0x6b0b6920]
cmp rcx, rax
je 0x6b018709
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b60b0]
call fcn.6b078ef0
test eax, eax
je 0x6b0186ac
mov ecx, 2
call rbx
lea rcx, [0x6b0b702e]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018763
lea rdx, [0x6b0b7049]
lea rcx, [0x6b0b74d8]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b60b0]
mov qword [0x6b0b6920], rax
call fcn.6b079000
jmp 0x6b0186ac

Function at 0x6b0187a0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b60c0]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018838
mov rcx, qword [0x6b0b6930]
lea rax, [rsp + 0x58]
lea rdx, [0x6b0b8395]
mov qword [rsp + 0x28], rax
call fcn.6b014b20
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6b0b6930]
mov rdx, r12
call fcn.6b00db40
mov rcx, qword [0x6b0b6930]
lea rdx, [0x6b0b839c]
call fcn.6b014b20
mov ecx, 2
call rbx
mov rcx, qword [0x6b0b6930]
cmp rcx, rax
je 0x6b018829
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b60c0]
call fcn.6b078ef0
test eax, eax
je 0x6b0187cc
mov ecx, 2
call rbx
lea rcx, [0x6b0b8350]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018883
lea rdx, [0x6b0b836b]
lea rcx, str._tmp_dpf.stderr.log
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b60c0]
mov qword [0x6b0b6930], rax
call fcn.6b079000
jmp 0x6b0187cc
Function at 0x6b0188c0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b60d0]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018950
mov rcx, qword [0x6b0b6940]
lea rax, [rsp + 0x58]
lea rdx, [0x6b0ba185]
mov qword [rsp + 0x28], rax
call fcn.6b014b20
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6b0b6940]
lea rdx, str.Got_event__d_while_waitingForClipboardEvents
call fcn.6b00db40
mov rcx, qword [0x6b0b6940]
lea rdx, [0x6b0ba18c]
call fcn.6b014b20
mov ecx, 1
call rbx
mov rcx, qword [0x6b0b6940]
cmp rcx, rax
je 0x6b018948
call sub.msvcrt.dll_fflush
nop
add rsp, 0x38
pop rbx
pop rsi
ret
lea rcx, [0x6b0b60d0]
call fcn.6b078ef0
test eax, eax
je 0x6b0188e7
mov ecx, 1
call rbx
lea rcx, [0x6b0ba140]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b01899b
lea rdx, [0x6b0ba15b]
lea rcx, str._tmp_dpf.stdout.log
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b60d0]
mov qword [0x6b0b6940], rax
call fcn.6b079000
jmp 0x6b0188e7

Function at 0x6b0189e0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b60e0]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018a80
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b6950]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b018af0
lea rdx, [0x6b0b7073]
call fcn.6b014b20
mov rcx, qword [0x6b0b6950]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6950]
lea rdx, [0x6b0b707a]
call fcn.6b014b20
mov rcx, qword [0x6b0b6950]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b60e0]
call fcn.6b078ef0
test eax, eax
je 0x6b018a0c
mov ecx, 2
call rbx
lea rcx, [0x6b0b702e]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018acf
lea rdx, [0x6b0b7049]
lea rcx, [0x6b0b704c]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b60e0]
mov qword [0x6b0b6950], rax
call fcn.6b079000
jmp 0x6b018a0c
lea rdx, [0x6b0b7061]
call fcn.6b014b20
mov rcx, qword [0x6b0b6950]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6950]
lea rdx, [0x6b0b706d]
call fcn.6b014b20
jmp 0x6b018a63
Function at 0x6b018b50
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b60f0]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018bf0
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b6960]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b018c60
lea rdx, [0x6b0b8395]
call fcn.6b014b20
mov rcx, qword [0x6b0b6960]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6960]
lea rdx, [0x6b0b839c]
call fcn.6b014b20
mov rcx, qword [0x6b0b6960]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b60f0]
call fcn.6b078ef0
test eax, eax
je 0x6b018b7c
mov ecx, 2
call rbx
lea rcx, [0x6b0b8350]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018c3f
lea rdx, [0x6b0b836b]
lea rcx, [0x6b0b836e]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b60f0]
mov qword [0x6b0b6960], rax
call fcn.6b079000
jmp 0x6b018b7c
lea rdx, [0x6b0b8383]
call fcn.6b014b20
mov rcx, qword [0x6b0b6960]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6960]
lea rdx, [0x6b0b838f]
call fcn.6b014b20
jmp 0x6b018bd3

Function at 0x6b018cc0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b6100]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018d60
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b6970]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b018dd0
lea rdx, [0x6b0b8ed5]
call fcn.6b018650
mov rcx, qword [0x6b0b6970]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6970]
lea rdx, [0x6b0b8edc]
call fcn.6b018650
mov rcx, qword [0x6b0b6970]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b6100]
call fcn.6b078ef0
test eax, eax
je 0x6b018cec
mov ecx, 2
call rbx
lea rcx, [0x6b0b8e90]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018daf
lea rdx, [0x6b0b8eab]
lea rcx, [0x6b0b8eae]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b6100]
mov qword [0x6b0b6970], rax
call fcn.6b079000
jmp 0x6b018cec
lea rdx, [0x6b0b8ec3]
call fcn.6b018650
mov rcx, qword [0x6b0b6970]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6970]
lea rdx, [0x6b0b8ecf]
call fcn.6b018650
jmp 0x6b018d43
Function at 0x6b018e30
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b6140]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b018ed0
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b69b0]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b018f40
lea rdx, [0x6b0b9b25]
call fcn.6b014b20
mov rcx, qword [0x6b0b69b0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69b0]
lea rdx, [0x6b0b9b2c]
call fcn.6b014b20
mov rcx, qword [0x6b0b69b0]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b6140]
call fcn.6b078ef0
test eax, eax
je 0x6b018e5c
mov ecx, 2
call rbx
lea rcx, [0x6b0b9ae0]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b018f1f
lea rdx, [0x6b0b9afb]
lea rcx, [0x6b0b9afe]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b6140]
mov qword [0x6b0b69b0], rax
call fcn.6b079000
jmp 0x6b018e5c
lea rdx, [0x6b0b9b13]
call fcn.6b014b20
mov rcx, qword [0x6b0b69b0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69b0]
lea rdx, [0x6b0b9b1f]
call fcn.6b014b20
jmp 0x6b018eb3

Function at 0x6b018fa0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b6170]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b019040
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b69e0]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b0190b0
lea rdx, [0x6b0b9f05]
call fcn.6b014b20
mov rcx, qword [0x6b0b69e0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69e0]
lea rdx, [0x6b0b9f0c]
call fcn.6b014b20
mov rcx, qword [0x6b0b69e0]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b6170]
call fcn.6b078ef0
test eax, eax
je 0x6b018fcc
mov ecx, 2
call rbx
lea rcx, [0x6b0b9ec0]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b01908f
lea rdx, [0x6b0b9edb]
lea rcx, [0x6b0b9ede]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b6170]
mov qword [0x6b0b69e0], rax
call fcn.6b079000
jmp 0x6b018fcc
lea rdx, [0x6b0b9ef3]
call fcn.6b014b20
mov rcx, qword [0x6b0b69e0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69e0]
lea rdx, [0x6b0b9eff]
call fcn.6b014b20
jmp 0x6b019023
Function at 0x6b019110
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b6180]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b0191b0
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b69f0]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b019220
lea rdx, [0x6b0ba185]
call fcn.6b014b20
mov rcx, qword [0x6b0b69f0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69f0]
lea rdx, [0x6b0ba18c]
call fcn.6b014b20
mov rcx, qword [0x6b0b69f0]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b6180]
call fcn.6b078ef0
test eax, eax
je 0x6b01913c
mov ecx, 2
call rbx
lea rcx, [0x6b0ba140]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b0191ff
lea rdx, [0x6b0ba15b]
lea rcx, [0x6b0ba15e]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b6180]
mov qword [0x6b0b69f0], rax
call fcn.6b079000
jmp 0x6b01913c
lea rdx, [0x6b0ba173]
call fcn.6b014b20
mov rcx, qword [0x6b0b69f0]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b69f0]
lea rdx, [0x6b0ba17f]
call fcn.6b014b20
jmp 0x6b019193

Function at 0x6b019280
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x58], rdx
mov r12, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, byte [0x6b0b6190]
mov rbx, qword [fcn.6b014160]
test al, al
je 0x6b019320
lea rax, [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x28], rax
call rbx
mov rcx, qword [0x6b0b6a00]
mov rbx, qword [rsp + 0x28]
cmp rcx, rax
je 0x6b019390
lea rdx, [0x6b0ba4a4]
call fcn.6b014b20
mov rcx, qword [0x6b0b6a00]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6a00]
lea rdx, [0x6b0ba45d]
call fcn.6b014b80
mov rcx, qword [0x6b0b6a00]
call sub.msvcrt.dll_fflush
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x6b0b6190]
call fcn.6b078ef0
test eax, eax
je 0x6b0192ac
mov ecx, 2
call rbx
lea rcx, [0x6b0ba45f]
mov rsi, rax
call sub.msvcrt.dll_getenv
mov r8, rax
mov rax, rsi
test r8, r8
je 0x6b01936f
lea rdx, [0x6b0ba47a]
lea rcx, [0x6b0ba47d]
call sub.msvcrt.dll_fopen
test rax, rax
cmove rax, rsi
lea rcx, [0x6b0b6190]
mov qword [0x6b0b6a00], rax
call fcn.6b079000
jmp 0x6b0192ac
lea rdx, [0x6b0ba492]
call fcn.6b014b20
mov rcx, qword [0x6b0b6a00]
mov rdx, r12
mov r8, rbx
call fcn.6b00db40
mov rcx, qword [0x6b0b6a00]
lea rdx, [0x6b0ba49e]
call fcn.6b014b20
jmp 0x6b019303