joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d30dd40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r13, qword [0x6d4f1ac0]
mov r11d, dword [r13]
mov r12, rcx
test r11d, r11d
jne 0x6d30dd80
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x6d30dde8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x6d30de00
mov r13d, dword [0x6d551908]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
mov r14d, eax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r14d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13, r13
je 0x6d30de78
mov r14, qword [r13]
cmp r14, rbx
jb 0x6d30dec0
lea r13, [r13 + rbx*8]
mov rax, qword [r13]
test rax, rax
jne 0x6d30dd69
mov rcx, r12
call fcn.6d30dc40
mov qword [r13], rax
jmp 0x6d30dd69
call fcn.6d30dc40
mov qword [r12 + 0x10], rax
jmp 0x6d30dd69
mov r10d, dword [r13]
test r10d, r10d
je 0x6d30df22
mov r9d, dword [0x6d4bd170]
test r9d, r9d
je 0x6d30df50
lock add dword [0x6d551910], 1
jne 0x6d30df84
mov rbx, qword [r12 + 0x10]
test rbx, rbx
je 0x6d30df30
mov eax, dword [r13]
test eax, eax
je 0x6d30dd89
mov eax, 0xffffffff
lock xadd dword [0x6d551910], eax
sub eax, 1
js 0x6d30dd89
mov rcx, qword [0x6d551918]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x6d30dd89
lea rcx, [rbx + 0x21]
mov edx, 8
lea rdi, [rbx + 0x20]
call sub.msvcrt.dll_calloc
mov r13, rax
test rax, rax
je 0x6d30dfab
mov qword [rax], rdi
mov ecx, dword [0x6d551908]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x6d30ddc7
call rsi
jmp 0x6d30ddc7
lea rdi, [r14 + r14]
lea rax, [rbx + 0x20]
mov rcx, r13
cmp rbx, rdi
cmova rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov r13, rax
test rax, rax
je 0x6d30dfab
mov qword [rax], rdi
sub rdi, r14
lea rcx, [rax + r14*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x6d30de99
call 0x6d30dce0
mov dword [0x6d4bd170], 1
mov edx, dword [r13]
test edx, edx
jne 0x6d30de1d
mov rbx, qword [r12 + 0x10]
test rbx, rbx
jne 0x6d30dd89
mov rax, qword [0x6d551900]
lea rbx, [rax + 1]
mov qword [0x6d551900], rbx
mov qword [r12 + 0x10], rbx
jmp 0x6d30de39
lock add dword [0x6d4bd174], 1
je 0x6d30df07
mov r8d, dword [0x6d4bd170]
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x6d4bd170]
test r8d, r8d
jne 0x6d30df16
nop dword [rax]
xor ecx, ecx
call rsi
mov ecx, dword [rbx]
test ecx, ecx
je 0x6d30df78
jmp 0x6d30df16
mov rcx, qword [0x6d551918]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6d30de2b
lock sub dword [0x6d551910], 1
jmp 0x6d30de2b
call sub.msvcrt.dll_abort
nop
nop word cs:[rax + rax]
nop dword [rax]
cmp qword [rcx], rdx
jae 0x6d30dfd0
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x6d30dfda
mov qword [rcx + 8], r8
test r9, r9
je 0x6d30dfe4
cmp qword [rcx], rdx
je 0x6d30dfe8
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x6d31db20
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6d4bd268], eax
cmp eax, 0xffffffff
je 0x6d4bc9b0
add rsp, 0x28
ret
call sub.msvcrt.dll_abort
nop

Function at 0x6d31e180
Capabilities:
Print debug messages

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, rcx
test rcx, rcx
je 0x6d31e1a5
call fcn.6d31d9e0
cmp eax, 1
je 0x6d31e1b2
mov qword [rbx], 0xffffffffffffffff
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
ret
lea r12, [rsp + 0x20]
xor eax, eax
mov ecx, 0xa
lea rsi, str.Error_cleaning_up_spin_keys_for_thread
mov rdi, r12
rep movsd dword [rdi], dword [rsi]
lea rdi, [rsp + 0x48]
mov ecx, 0x43
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x6d31e238
mov eax, 0x28
jmp 0x6d31e20a
add rax, 1
cmp rax, 0x6b
je 0x6d31e22a
cmp byte [r12 + rax], 0
mov edx, eax
jne 0x6d31e200
cmp eax, 0x6a
je 0x6d31e22a
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0xa
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rax + 0x20], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov edx, 0x27
jmp 0x6d31e218

Function at 0x6d31e240
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x6d552380], 1
je 0x6d31e257
call fcn.6d31e0f0
mov ecx, dword [0x6d4bd268]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x6d31e280
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
call fcn.6d31e020
cmp qword [0x6d557040], 0
mov rbx, rax
je 0x6d31e26b
test rax, rax
je 0x6d31e26b
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.6d31e180
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rdi
mov dword [rsp + 0x30], 2
mov r8, rsi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x6d4bc9b6
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x6d4bd268]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6d4bc9b6
mov r12, rbx
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x6d31f960
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call fcn.6d31e020
mov r12, rax
test rax, rax
je 0x6d31fbd0
test rdi, rdi
je 0x6d31f99a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x6d31fa10
test ebx, ebx
je 0x6d31fa08
mov ecx, 0x14
call r14
cmp ebx, 4
je 0x6d31fa10
add ebx, 1
jmp 0x6d31f9d5
xor ecx, ecx
call r13
jmp 0x6d31f9ff
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call fcn.6d31e180
cmp qword [r12 + 0x30], 0
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x6d31fb7c
xor edx, edx
test rsi, rsi
je 0x6d31fa76
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x6d31fba8
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [0x6d31e6f0]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x6d31fb48
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x6d31fb20
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x6d31fb00
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6d31fae6
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x6d31fabc
mov edx, 0xf
cmp eax, 0xe
jg 0x6d31fabc
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x6d31fabc
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x6d31fb58
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call fcn.6d31d860
mov rcx, r14
call fcn.6d31e180
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x6d31fb88
mov qword [rdi], 0
mov rcx, r12
call fcn.6d31dd70
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call fcn.6d31e240
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x6d31fa76
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x6d331e60
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d0
mov rbx, rcx
lea rcx, str.FREETYPE_PROPERTIES
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d331fcf
movzx edx, byte [rax]
test dl, dl
je 0x6d331fcf
lea rbp, [rsp + 0x140]
lea rdi, [rsp + 0xb0]
lea rsi, [rsp + 0x20]
nop dword [rax]
cmp dl, 0x20
je 0x6d331fe0
cmp dl, 9
je 0x6d331fe0
mov r10, rax
xor edx, edx
jmp 0x6d331ee5
cmp cl, 0x3a
je 0x6d331ef0
mov byte [rdx + rsi], cl
add rdx, 1
add r10, 1
cmp rdx, 0x80
je 0x6d331fe8
movzx ecx, byte [r10]
movsxd r8, edx
test cl, cl
jne 0x6d331ec8
mov byte [rsp + r8 + 0x20], 0
cmp byte [r10], 0x3a
jne 0x6d331fcf
cmp r10, rax
je 0x6d331fcf
add r10, 1
xor eax, eax
mov rcx, r10
jmp 0x6d331f34
cmp dl, 0x3d
je 0x6d331f3e
mov byte [rax + rdi], dl
add rax, 1
add rcx, 1
cmp rax, 0x80
je 0x6d331ff3
movzx edx, byte [rcx]
movsxd r8, eax
test dl, dl
jne 0x6d331f18
mov byte [rsp + r8 + 0xb0], 0
cmp byte [rcx], 0x3d
jne 0x6d331fcf
cmp rcx, r10
je 0x6d331fcf
add rcx, 1
xor eax, eax
mov r12, rcx
jmp 0x6d331f7c
cmp dl, 9
je 0x6d331f89
mov byte [rax + rbp], dl
add rax, 1
add r12, 1
cmp rax, 0x80
je 0x6d331ffe
movzx edx, byte [r12]
movsxd r8, eax
test dl, 0xdf
jne 0x6d331f60
mov byte [rsp + r8 + 0x140], 0
movzx eax, byte [r12]
test al, 0xdf
je 0x6d331f9f
cmp al, 9
jne 0x6d331fcf
cmp r12, rcx
je 0x6d331fcf
mov r9, rbp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.6d4458d0
cmp byte [r12], 0
je 0x6d331fcf
movzx edx, byte [r12 + 1]
lea rax, [r12 + 1]
test dl, dl
jne 0x6d331ea8
add rsp, 0x1d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r12, rax
jmp 0x6d331fbc
mov r8d, pe_nt_image_headers64
jmp 0x6d331ef0
mov r8d, pe_nt_image_headers64
jmp 0x6d331f3e
mov r8d, pe_nt_image_headers64
jmp 0x6d331f89
Function at 0x6d333340
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x6d3334a0
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov r8d, 1
mov rcx, rsi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
mov eax, 1
cmp r12, 0xffffffffffffffff
je 0x6d333461
lea rdx, [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x6d333470
mov rax, qword [rsp + 0x48]
cmp rax, 0x7fffffff
jg 0x6d333470
test rax, rax
je 0x6d333470
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r13, rax
test rax, rax
je 0x6d333470
mov eax, dword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, r13
mov dword [rbx + 0xc], 0
mov dword [rbx + 8], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
mov qword [rbx], rax
call rdi
cmp qword [rbx], 0
je 0x6d3334b8
lea rax, [0x6d442200]
mov qword [rbx + 0x28], rax
mov rcx, r12
call rdi
mov rax, qword [rbx]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x10], rax
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call rdi
mov eax, 0x51
mov qword [rbx], 0
mov qword [rbx + 8], 0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, 0x28
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [rbx + 0x30]
movsxd r8, dword [rbx + 8]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x6d333477
mov r8d, dword [rbx + 8]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
xor ebp, ebp
lea r14, [rsp + 0x44]
jmp 0x6d333500
mov r8d, dword [rbx + 8]
add ebp, dword [rsp + 0x44]
cmp r8d, ebp
je 0x6d333538
mov rax, qword [rbx]
mov edx, ebp
sub r8d, ebp
mov r9, r14
mov rcx, r12
mov qword [rsp + 0x20], 0
add rdx, rax
call r13
test eax, eax
jne 0x6d3334f0
mov rax, qword [rbx + 0x30]
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x6d333477
lea rax, [0x6d4421c0]
mov qword [rbx + 0x28], rax
jmp 0x6d333447

Function at 0x6d347800
Capabilities:
Query environment variable

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
lea rcx, [0x6d4e4c0e]
jmp fcn.6d348820

Function at 0x6d347840
Capabilities:
Query environment variable

Disassembly:
lea r8, str.src_Window.cpp
mov r9d, edx
mov rdx, rcx
lea rcx, [0x6d4e476d]
jmp fcn.6d3485d0
Function at 0x6d348130
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
lea rcx, [0x6d4e33e0]
mov rbx, rdx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348171
lea rdx, [0x6d4e33fb]
mov rcx, r12
call sub.msvcrt.dll_fopen
test rax, rax
jne 0x6d348174
jmp 0x6d348171
mov rax, rbx
add rsp, 0x28
pop rbx
pop r12
ret

Function at 0x6d348180
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
lea rcx, [0x6d4e393e]
mov rbx, rdx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d3481c1
lea rdx, [0x6d4e3959]
mov rcx, r12
call sub.msvcrt.dll_fopen
test rax, rax
jne 0x6d3481c4
jmp 0x6d3481c1
mov rax, rbx
add rsp, 0x28
pop rbx
pop r12
ret

Function at 0x6d3481d0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
lea rcx, [0x6d4e4120]
mov rbx, rdx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348211
lea rdx, [0x6d4e413b]
mov rcx, r12
call sub.msvcrt.dll_fopen
test rax, rax
jne 0x6d348214
jmp 0x6d348211
mov rax, rbx
add rsp, 0x28
pop rbx
pop r12
ret

Function at 0x6d348220
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
lea rcx, [0x6d4e4940]
mov rbx, rdx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348261
lea rdx, [0x6d4e495b]
mov rcx, r12
call sub.msvcrt.dll_fopen
test rax, rax
jne 0x6d348264
jmp 0x6d348261
mov rax, rbx
add rsp, 0x28
pop rbx
pop r12
ret

Function at 0x6d348270
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd2e0]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d348304
lea rcx, [0x6d4bd2e0]
call fcn.6d377c20
test eax, eax
je 0x6d348304
mov ecx, 2
call rsi
lea rcx, [0x6d4e327c]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d3482e0
lea rdx, [0x6d4e3297]
lea rcx, [0x6d4e329a]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd2e0]
mov qword [0x6d4bd820], rbx
call fcn.6d377d30
jmp 0x6d348304
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x6d4bd820]
mov qword [rsp + 0x28], r8
cmp rcx, rax
jne 0x6d348354
lea rdx, [0x6d4e32af]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd820]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e32bb]
jmp 0x6d34837b
lea rdx, [0x6d4e32c1]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd820]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e32c8]
mov rcx, qword [0x6d4bd820]
call fcn.6d347750
mov rcx, qword [0x6d4bd820]
call sub.msvcrt.dll_fflush
jmp 0x6d3483a3
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
Function at 0x6d3485d0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd370]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d348664
lea rcx, [0x6d4bd370]
call fcn.6d377c20
test eax, eax
je 0x6d348664
mov ecx, 2
call rsi
lea rcx, [0x6d4e4710]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348640
lea rdx, [0x6d4e472b]
lea rcx, [0x6d4e472e]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd370]
mov qword [0x6d4bd8b0], rbx
call fcn.6d377d30
jmp 0x6d348664
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x6d4bd8b0]
mov qword [rsp + 0x28], r8
cmp rcx, rax
jne 0x6d3486b4
lea rdx, [0x6d4e4743]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8b0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e474f]
jmp 0x6d3486db
lea rdx, [0x6d4e4755]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8b0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e475c]
mov rcx, qword [0x6d4bd8b0]
call fcn.6d347750
mov rcx, qword [0x6d4bd8b0]
call sub.msvcrt.dll_fflush
jmp 0x6d348703
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret

Function at 0x6d348820
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd390]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d3488b4
lea rcx, [0x6d4bd390]
call fcn.6d377c20
test eax, eax
je 0x6d3488b4
mov ecx, 2
call rsi
lea rcx, [0x6d4e4bc0]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348890
lea rdx, [0x6d4e4bdb]
lea rcx, [0x6d4e4bde]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd390]
mov qword [0x6d4bd8d0], rbx
call fcn.6d377d30
jmp 0x6d3488b4
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x6d4bd8d0]
mov qword [rsp + 0x28], r8
cmp rcx, rax
jne 0x6d348904
lea rdx, [0x6d4e4bf3]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8d0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e4bff]
jmp 0x6d34892b
lea rdx, [0x6d4e4c05]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8d0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e4c0c]
mov rcx, qword [0x6d4bd8d0]
call fcn.6d347750
mov rcx, qword [0x6d4bd8d0]
call sub.msvcrt.dll_fflush
jmp 0x6d348953
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
Function at 0x6d348960
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd3a0]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d3489f4
lea rcx, [0x6d4bd3a0]
call fcn.6d377c20
test eax, eax
je 0x6d3489f4
mov ecx, 2
call rsi
lea rcx, str.DPF_CAPTURE_CONSOLE_OUTPUT
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d3489d0
lea rdx, [0x6d4e50e8]
lea rcx, [0x6d4e50eb]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd3a0]
mov qword [0x6d4bd8e0], rbx
call fcn.6d377d30
jmp 0x6d3489f4
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x6d4bd8e0]
mov qword [rsp + 0x28], r8
cmp rcx, rax
jne 0x6d348a44
lea rdx, [0x6d4e5100]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8e0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e510c]
jmp 0x6d348a6b
lea rdx, [0x6d4e5112]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8e0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e5119]
mov rcx, qword [0x6d4bd8e0]
call fcn.6d347750
mov rcx, qword [0x6d4bd8e0]
call sub.msvcrt.dll_fflush
jmp 0x6d348a93
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret

Function at 0x6d348aa0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd3b0]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d348b34
lea rcx, [0x6d4bd3b0]
call fcn.6d377c20
test eax, eax
je 0x6d348b34
mov ecx, 2
call rsi
lea rcx, [0x6d4e55a0]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348b10
lea rdx, [0x6d4e55bb]
lea rcx, str._tmp_dpf.stderr2.log
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd3b0]
mov qword [0x6d4bd8f0], rbx
call fcn.6d377d30
jmp 0x6d348b34
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x6d4bd8f0]
mov qword [rsp + 0x28], r8
cmp rcx, rax
jne 0x6d348b84
lea rdx, str.e_31m_dpf_
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8f0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, str.e_0m_n
jmp 0x6d348bab
lea rdx, str._dpf_
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd8f0]
mov rdx, r12
call fcn.6d30e3e0
lea rdx, [0x6d4e55ec]
mov rcx, qword [0x6d4bd8f0]
call fcn.6d347750
mov rcx, qword [0x6d4bd8f0]
call sub.msvcrt.dll_fflush
jmp 0x6d348bd3
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
Function at 0x6d348e50
Capabilities:
Query environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd330]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d348edf
lea rcx, [0x6d4bd330]
call fcn.6d377c20
test eax, eax
je 0x6d348edf
mov ecx, 2
call rsi
lea rcx, [0x6d4e4360]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d348ebb
lea rdx, [0x6d4e437b]
lea rcx, [0x6d4e437e]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd330]
mov qword [0x6d4bd870], rbx
call fcn.6d377d30
jmp 0x6d348edf
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov r9, qword [0x6d4bd870]
mov rcx, rax
mov qword [rsp + 0x28], r8
cmp rax, r9
jne 0x6d348f36
lea rdx, [0x6d4e4393]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd870]
lea rdx, [0x6d4e439f]
call fcn.6d30e3e0
lea rdx, [0x6d4e43cb]
jmp 0x6d348f64
mov rcx, r9
lea rdx, [0x6d4e43d1]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd870]
lea rdx, [0x6d4e439f]
call fcn.6d30e3e0
lea rdx, [0x6d4e43d8]
mov rcx, qword [0x6d4bd870]
call fcn.6d347750
mov rcx, qword [0x6d4bd870]
call sub.msvcrt.dll_fflush
jmp 0x6d348f8c
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x6d348fa0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov al, byte [0x6d4bd340]
test al, al
mov rsi, qword [fcn.6d31bc20]
jne 0x6d34902f
lea rcx, [0x6d4bd340]
call fcn.6d377c20
test eax, eax
je 0x6d34902f
mov ecx, 2
call rsi
lea rcx, [0x6d4e4480]
mov rbx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d34900b
lea rdx, [0x6d4e449b]
lea rcx, [0x6d4e449e]
call sub.msvcrt.dll_fopen
test rax, rax
cmovne rbx, rax
lea rcx, [0x6d4bd340]
mov qword [0x6d4bd880], rbx
call fcn.6d377d30
jmp 0x6d34902f
lea rax, [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0x38], rax
call rsi
mov r8, qword [rsp + 0x38]
mov r9, qword [0x6d4bd880]
mov rcx, rax
mov qword [rsp + 0x28], r8
cmp rax, r9
jne 0x6d349086
lea rdx, [0x6d4e44b3]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd880]
lea rdx, [0x6d4e44bf]
call fcn.6d30e3e0
lea rdx, [0x6d4e44eb]
jmp 0x6d3490b4
mov rcx, r9
lea rdx, [0x6d4e44f1]
call fcn.6d347750
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x6d4bd880]
lea rdx, [0x6d4e44bf]
call fcn.6d30e3e0
lea rdx, [0x6d4e44f8]
mov rcx, qword [0x6d4bd880]
call fcn.6d347750
mov rcx, qword [0x6d4bd880]
call sub.msvcrt.dll_fflush
jmp 0x6d3490dc
add rsp, 0x48
pop rbx
pop rsi
ret