Function at 0x6d078ca0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d0
mov rsi, rcx
lea rcx, str.FREETYPE_PROPERTIES
call sub.msvcrt.dll_getenv
test rax, rax
je 0x6d0790f8
movzx r10d, byte [rax]
test r10b, r10b
je 0x6d0790f8
lea r12, [rsp + 0x140]
lea rbp, [rsp + 0xb0]
lea rdi, [rsp + 0x20]
nop word [rax + rax]
cmp r10b, 0x20
je 0x6d079110
cmp r10b, 9
je 0x6d079110
mov rdx, rax
xor r10d, r10d
movzx r8d, byte [rdx]
mov r9d, r10d
test r8b, r8b
je 0x6d078e20
cmp r8b, 0x3a
je 0x6d078e20
lea rcx, [rdx + 1]
mov byte [r10 + rdi], r8b
lea r8, [r10 + 1]
movzx r11d, byte [rcx]
mov rdx, rcx
mov r9d, r8d
test r11b, r11b
je 0x6d078e20
cmp r11b, 0x3a
je 0x6d078e20
add rdx, 1
mov byte [rdi + r8], r11b
lea r9, [r10 + 2]
movzx ebx, byte [rdx]
test bl, bl
je 0x6d078e20
cmp bl, 0x3a
je 0x6d078e20
mov byte [rdi + r10 + 2], bl
movzx r11d, byte [rcx + 2]
lea rdx, [rcx + 2]
lea r9, [r10 + 3]
test r11b, r11b
je 0x6d078e20
cmp r11b, 0x3a
je 0x6d078e20
mov byte [rdi + r10 + 3], r11b
movzx ebx, byte [rcx + 3]
add r10, 4
lea rdx, [rcx + 3]
mov r9d, r10d
test bl, bl
je 0x6d078e20
cmp bl, 0x3a
je 0x6d078e20
mov byte [r10 + rdi], bl
movzx r10d, byte [rcx + 4]
lea rdx, [rcx + 4]
lea r9d, [r8 + 4]
test r10b, r10b
je 0x6d078e20
cmp r10b, 0x3a
je 0x6d078e20
mov byte [rdi + r8 + 4], r10b
movzx r11d, byte [rcx + 5]
lea rdx, [rcx + 5]
lea r9d, [r8 + 5]
test r11b, r11b
je 0x6d078e20
cmp r11b, 0x3a
je 0x6d078e20
mov byte [rdi + r8 + 5], r11b
movzx ebx, byte [rcx + 6]
lea rdx, [rcx + 6]
lea r9d, [r8 + 6]
test bl, bl
je 0x6d078e20
cmp bl, 0x3a
je 0x6d078e20
mov byte [rdi + r8 + 6], bl
lea rdx, [rcx + 7]
lea r10, [r8 + 7]
cmp r8, 0x79
jne 0x6d078d0a
mov r9d, pe_nt_image_headers64
nop
movsxd rcx, r9d
mov byte [rsp + rcx + 0x20], 0
cmp byte [rdx], 0x3a
jne 0x6d0790f8
cmp rdx, rax
je 0x6d0790f8
add rdx, 1
xor r10d, r10d
mov rax, rdx
movzx r8d, byte [rax]
mov r9d, r10d
test r8b, r8b
je 0x6d078f60
cmp r8b, 0x3d
je 0x6d078f60
lea rcx, [rax + 1]
mov byte [r10 + rbp], r8b
lea r8, [r10 + 1]
movzx r11d, byte [rcx]
mov rax, rcx
mov r9d, r8d
test r11b, r11b
je 0x6d078f60
cmp r11b, 0x3d
je 0x6d078f60
add rax, 1
mov byte [rbp + r8], r11b
lea r9, [r10 + 2]
movzx ebx, byte [rax]
test bl, bl
je 0x6d078f60
cmp bl, 0x3d
je 0x6d078f60
mov byte [rbp + r10 + 2], bl
movzx r11d, byte [rcx + 2]
lea rax, [rcx + 2]
lea r9, [r10 + 3]
test r11b, r11b
je 0x6d078f60
cmp r11b, 0x3d
je 0x6d078f60
mov byte [rbp + r10 + 3], r11b
movzx ebx, byte [rcx + 3]
add r10, 4
lea rax, [rcx + 3]
mov r9d, r10d
test bl, bl
je 0x6d078f60
cmp bl, 0x3d
je 0x6d078f60
mov byte [r10 + rbp], bl
movzx r10d, byte [rcx + 4]
lea rax, [rcx + 4]
lea r9d, [r8 + 4]
test r10b, r10b
je 0x6d078f60
cmp r10b, 0x3d
je 0x6d078f60
mov byte [rbp + r8 + 4], r10b
movzx r11d, byte [rcx + 5]
lea rax, [rcx + 5]
lea r9d, [r8 + 5]
test r11b, r11b
je 0x6d078f60
cmp r11b, 0x3d
je 0x6d078f60
mov byte [rbp + r8 + 5], r11b
movzx ebx, byte [rcx + 6]
lea rax, [rcx + 6]
lea r9d, [r8 + 6]
test bl, bl
je 0x6d078f60
cmp bl, 0x3d
je 0x6d078f60
mov byte [rbp + r8 + 6], bl
lea rax, [rcx + 7]
lea r10, [r8 + 7]
cmp r8, 0x79
jne 0x6d078e44
mov r9d, pe_nt_image_headers64
nop word [rax + rax]
movsxd rcx, r9d
mov byte [rsp + rcx + 0xb0], 0
cmp byte [rax], 0x3d
jne 0x6d0790f8
cmp rax, rdx
je 0x6d0790f8
add rax, 1
xor ecx, ecx
mov rbx, rax
movzx r11d, byte [rbx]
mov r8d, ecx
test r11b, 0xdf
je 0x6d0790b0
cmp r11b, 9
je 0x6d0790b0
lea rdx, [rbx + 1]
mov byte [rcx + r12], r11b
lea r9, [rcx + 1]
movzx r10d, byte [rdx]
mov rbx, rdx
mov r8d, r9d
test r10b, 0xdf
je 0x6d0790b0
cmp r10b, 9
je 0x6d0790b0
add rbx, 1
mov byte [r12 + r9], r10b
lea r8, [rcx + 2]
movzx r11d, byte [rbx]
test r11b, 0xdf
je 0x6d0790b0
cmp r11b, 9
je 0x6d0790b0
mov byte [r12 + rcx + 2], r11b
movzx r10d, byte [rdx + 2]
lea rbx, [rdx + 2]
lea r8, [rcx + 3]
test r10b, 0xdf
je 0x6d0790b0
cmp r10b, 9
je 0x6d0790b0
mov byte [r12 + rcx + 3], r10b
movzx r11d, byte [rdx + 3]
add rcx, 4
lea rbx, [rdx + 3]
mov r8d, ecx
test r11b, 0xdf
je 0x6d0790b0
cmp r11b, 9
je 0x6d0790b0
mov byte [rcx + r12], r11b
movzx ecx, byte [rdx + 4]
lea rbx, [rdx + 4]
lea r8d, [r9 + 4]
test cl, 0xdf
je 0x6d0790b0
cmp cl, 9
je 0x6d0790b0
mov byte [r12 + r9 + 4], cl
movzx r10d, byte [rdx + 5]
lea rbx, [rdx + 5]
lea r8d, [r9 + 5]
test r10b, 0xdf
je 0x6d0790b0
cmp r10b, 9
je 0x6d0790b0
mov byte [r12 + r9 + 5], r10b
movzx r11d, byte [rdx + 6]
lea rbx, [rdx + 6]
lea r8d, [r9 + 6]
test r11b, 0xdf
je 0x6d0790b0
cmp r11b, 9
je 0x6d0790b0
mov byte [r12 + r9 + 6], r11b
lea rbx, [rdx + 7]
lea rcx, [r9 + 7]
cmp r9, 0x79
jne 0x6d078f86
mov r8d, pe_nt_image_headers64
nop dword [rax]
movsxd rdx, r8d
mov byte [rsp + rdx + 0x140], 0
movzx r9d, byte [rbx]
test r9b, 0xdf
je 0x6d0790cb
cmp r9b, 9
jne 0x6d0790f8
cmp rbx, rax
je 0x6d0790f8
mov r9, r12
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call fcn.6d32f630
cmp byte [rbx], 0
je 0x6d0790f8
movzx r10d, byte [rbx + 1]
lea rax, [rbx + 1]
test r10b, r10b
jne 0x6d078cf0
add rsp, 0x1d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rbx, rax
jmp 0x6d0790e6