Function at 0x140083050
Capabilities:
Query environment variable

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push r12
push r15
sub rsp, 0x78
cmp dword [0x1401bb028], 0
mov esi, edx
mov rbp, rcx
jne 0x140083099
lea rcx, str.dglDUMP_FLAGS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14008308f
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x1401bb028], eax
jmp 0x140083099
mov dword [0x1401bb028], 0x1f
mov qword [rsp + 0xb0], rbx
lea rcx, str._n_cmarkup__n
mov qword [rsp + 0x70], rdi
mov r8d, 0x20
movaps xmmword [rsp + 0x50], xmm6
mov edx, esi
movaps xmmword [rsp + 0x40], xmm7
call fcn.140001fb0
movzx r9d, byte [rbp + 0x48]
lea r15d, [rsi + 2]
lea r12, [0x140000000]
mov r8d, 0x20
mov edx, r15d
lea rcx, [0x1401a32f8]
mov r9, qword [r12 + r9*8 + 0x1a3310]
call fcn.140001fb0
mov r9d, dword [rbp + 0x48]
mov eax, r9d
and eax, 0xf00
jne 0x140083183
lea r8d, [rax + 0x20]
mov edx, r15d
lea rcx, str._cdrawType___:_floating_n
call fcn.140001fb0
movups xmm0, xmmword [rbp + 0x38]
lea rcx, [0x1401a33c0]
mov r8d, 0x20
movsd xmm3, qword [rbp + 0x30]
mov edx, r15d
movq r9, xmm3
movups xmmword [rsp + 0x20], xmm0
call fcn.140001fb0
movzx r9d, word [rbp + 0x4a]
lea rcx, str._cplacement__:__d_n
and r9d, 0xf
mov r8d, 0x20
mov edx, r15d
call fcn.140001fb0
mov r9, qword [rbp + 0x58]
test r9, r9
je 0x1400833f9
mov r8d, 0x20
lea rcx, str._ctext_______:___s__n
mov edx, r15d
call fcn.140001fb0
jmp 0x1400833f9
cmp eax, 0x100
jne 0x140083329
mov r8d, 0x20
lea rcx, str._cdrawType___:_planar_n
mov edx, r15d
call fcn.140001fb0
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 1]
call fcn.140075d50
cmp byte [rax + 0x31], 0
je 0x14008321f
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 1]
call fcn.140075d50
xor edx, edx
mov rcx, rbp
movss xmm7, dword [rax + 0x20]
lea r8d, [rdx + 1]
cvtps2pd xmm7, xmm7
call fcn.140075d50
xor edx, edx
mov rcx, rbp
movss xmm6, dword [rax + 0x1c]
lea r8d, [rdx + 1]
cvtps2pd xmm6, xmm6
call fcn.140075d50
lea rcx, [0x1401a3430]
mov r8d, 0x20
mov edx, r15d
movsd qword [rsp + 0x28], xmm7
movss xmm3, dword [rax + 0x18]
cvtps2pd xmm3, xmm3
movsd qword [rsp + 0x20], xmm6
movq r9, xmm3
call fcn.140001fb0
test dword [rbp + 0x48], 0x8000
je 0x140083250
movups xmm0, xmmword [rbp + 0x38]
lea rcx, [0x1401a3458]
mov r8d, 0x20
movsd xmm3, qword [rbp + 0x30]
mov edx, r15d
movq r9, xmm3
movups xmmword [rsp + 0x20], xmm0
call fcn.140001fb0
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 1]
call fcn.140075d50
mov rbx, rax
test rax, rax
je 0x1400832bc
cmp qword [rax + 0x28], 0
je 0x1400832bc
lea r9, [0x1401a3480]
mov r8d, 0x20
mov edx, r15d
lea rcx, [0x1401a28f8]
call fcn.140001fb0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400832a7
lea edx, [r15 + 2]
mov rcx, rbx
call fcn.140083680
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140083293
mov r8d, 0x20
lea rcx, [0x1401a27e4]
mov edx, r15d
call fcn.140001fb0
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.140075d50
mov rbx, rax
test rax, rax
je 0x1400833f9
cmp qword [rax + 0x28], 0
je 0x1400833f9
lea r9, [0x1401a3488]
mov r8d, 0x20
mov edx, r15d
lea rcx, [0x1401a28f8]
call fcn.140001fb0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400833e4
nop dword [rax]
lea edx, [r15 + 2]
mov rcx, rbx
call fcn.140083680
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140083310
jmp 0x1400833e4
cmp eax, 0x200
jne 0x14008333c
lea rcx, str._cdrawType___:_placement_n
jmp 0x1400833eb
cmp eax, 0x300
jne 0x140083644
mov r8d, 0x20
lea rcx, str._cdrawType___:_screen_n
mov edx, r15d
call fcn.140001fb0
test dword [rbp + 0x48], 0x8000
je 0x14008338d
movups xmm0, xmmword [rbp + 0x38]
lea rcx, [0x1401a34d0]
mov r8d, 0x20
movsd xmm3, qword [rbp + 0x30]
mov edx, r15d
movq r9, xmm3
movups xmmword [rsp + 0x20], xmm0
call fcn.140001fb0
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 1]
call fcn.140075d50
mov rbx, rax
test rax, rax
je 0x1400833f9
cmp qword [rax + 0x28], 0
je 0x1400833f9
lea r9, [0x1401a34f8]
mov r8d, 0x20
mov edx, r15d
lea rcx, [0x1401a28f8]
call fcn.140001fb0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400833e4
lea edx, [r15 + 2]
mov rcx, rbx
call fcn.140083680
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400833d0
lea rcx, [0x1401a27e4]
mov r8d, 0x20
mov edx, r15d
call fcn.140001fb0
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov dword [rsp + 0xa0], r13d
cmp dword [rbp + 0x4c], r13d
jle 0x1400835fa
movsd xmm6, qword [0x140158b90]
lea ebx, [r15 + 2]
mov qword [rsp + 0x60], r14
xor esi, esi
xorps xmm7, xmm7
nop dword [rax]
mov r14, qword [rbp + 0x10]
lea rcx, str._cleader__n
mov r8d, 0x20
mov edx, r15d
call fcn.140001fb0
movzx r9d, byte [rsi + r14 + 0x27]
lea rcx, str._ctype_______:__s_n
mov r8d, 0x20
mov edx, ebx
mov r9, qword [r12 + r9*8 + 0x1a32e8]
call fcn.140001fb0
movzx r9d, byte [rsi + r14 + 0x25]
lea rcx, str._cend0Type___:__d_n
mov r8d, 0x20
mov edx, ebx
call fcn.140001fb0
movzx r9d, byte [rsi + r14 + 0x26]
lea rcx, str._cend1Type___:__d_n
mov r8d, 0x20
mov edx, ebx
call fcn.140001fb0
movss xmm0, dword [rsi + r14 + 0x20]
ucomiss xmm0, xmm7
jp 0x1400834ad
je 0x1400834e5
movzx eax, byte [rsi + r14 + 0x24]
lea rcx, str._cendSize____:__g___g_n
cvtps2pd xmm0, xmm0
mov r8d, 0x20
mov edx, ebx
movd xmm3, eax
cvtdq2pd xmm3, xmm3
movsd qword [rsp + 0x20], xmm0
mulsd xmm3, xmm0
mulsd xmm3, xmm6
movq r9, xmm3
call fcn.140001fb0
mov rax, qword [rsi + r14 + 8]
test rax, rax
je 0x140083535
mov rax, qword [rax + 0x18]
test rax, rax
je 0x140083535
movss xmm0, dword [rax + 0x18]
lea rcx, [0x1401a3590]
movss xmm3, dword [rax + 0x10]
mov r8d, 0x20
movss xmm1, dword [rax + 0x14]
mov edx, ebx
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm1, xmm1
movsd qword [rsp + 0x28], xmm0
movq r9, xmm3
movsd qword [rsp + 0x20], xmm1
call fcn.140001fb0
movzx eax, byte [rsi + r14 + 0x27]
test al, al
jne 0x140083627
mov r12d, dword [rsi + r14 + 0x18]
lea rcx, str._cpointCount_:__d_n
mov r9d, r12d
mov r8d, 0x20
mov edx, ebx
call fcn.140001fb0
xor edi, edi
test r12d, r12d
jle 0x1400835b9
lea r13d, [rbx + 2]
xor ebx, ebx
nop dword [rax]
mov rax, qword [rsi + r14 + 0x10]
lea rcx, str._c__d____0.16g___0.16g___0.16g__n
mov r9d, edi
mov r8d, 0x20
mov edx, r13d
movups xmm0, xmmword [rbx + rax + 8]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [rbx + rax]
movsd qword [rsp + 0x20], xmm0
call fcn.140001fb0
inc edi
lea rbx, [rbx + 0x18]
cmp edi, r12d
jl 0x140083570
mov r13d, dword [rsp + 0xa0]
lea ebx, [r15 + 2]
lea r12, [0x140000000]
mov r8d, 0x20
lea rcx, [0x1401a35f4]
mov edx, r15d
call fcn.140001fb0
inc r13d
add rsi, 0x70
mov dword [rsp + 0xa0], r13d
cmp r13d, dword [rbp + 0x4c]
jl 0x140083430
mov esi, dword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
cmp dword [rbp + 0x20], 0
mov r13, qword [rsp + 0x68]
jle 0x140083611
lea rcx, [rbp + 0x18]
mov edx, r15d
call fcn.140083a50
mov r8d, 0x20
lea rcx, [0x1401a35fc]
mov edx, esi
call fcn.140001fb0
jmp 0x140083657
cmp al, 1
jne 0x1400835c0
mov rcx, qword [rsi + r14 + 0x10]
lea rdx, [0x1401a35ec]
mov r8d, ebx
call fcn.140083b90
jmp 0x1400835c0
mov edx, 1
lea r8, str.Unknown_Markup_draw_type____x_n
mov ecx, edx
call fcn.140001480
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbp
ret