Function at 0x140006900
Capabilities:
Query environment variable

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov dword [rsp + 0x3c], 0x883f
mov dword [rsp + 0x34], 0xb5b6
mov dword [rsp + 0x30], 0x14b63
mov dword [rsp + 0x38], 0xc97e
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_EnumFontsW]
cmp dword [0x1400be9d0], eax
jae 0x140006e32
call fcn.140005020
cmp dword [0x1400be9b4], eax
jb 0x140006e2d
mov eax, dword [0x1400be9d0]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xb045
je 0x140006b75
cmp dword [rsp + 0x40], 0xd2a6
je 0x140006cdc
cmp dword [rsp + 0x40], 0x13af6
je 0x140006bcc
cmp dword [rsp + 0x40], 0x15c5c
je 0x1400069aa
jmp 0x140006e2d
xor edx, edx
mov eax, 0x9f44
div dword [rsp + 0x30]
mov eax, edx
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rsp + 0x70]
div dword [rsp + 0x88]
sub eax, 0x10b33
sub eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x30]
add ecx, 0x12577
shr eax, cl
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x3c]
call fcn.140001850
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
lea rcx, str.nUiwrh_dauber_walkway_mantelshelf_snacks
call fcn.14009e910
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x80]
lea eax, [rax + rcx + 0x47ac]
mov dword [rsp + 0x44], eax
xor edx, edx
mov eax, dword [rsp + 0x34]
div dword [rsp + 0x30]
mov eax, edx
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x88]
shr eax, cl
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteMetaFile]
mov dword [rsp + 0x88], eax
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x88]
call fcn.140003690
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 0x3c7e
idiv ecx
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, 0xec4d
cdq
idiv dword [rsp + 0x34]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x70]
shl eax, cl
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
mov dword [rsp + 0x30], eax
imul eax, dword [rsp + 0x88], 0xbc2e
movzx ecx, al
mov eax, dword [rsp + 0x70]
shl eax, cl
mov dword [rsp + 0x34], eax
xor edx, edx
mov eax, 0x103f4
div dword [rsp + 0x78]
mov eax, edx
mov dword [rsp + 0x4c], eax
xor edx, edx
mov eax, dword [rsp + 0x70]
div dword [rsp + 0x78]
mov eax, edx
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x88]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
xor r8d, r8d
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x80], eax
xor edx, edx
mov eax, dword [rsp + 0x78]
div dword [rsp + 0x30]
mov eax, edx
add eax, 0x13dfd
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
cdq
mov ecx, 0x800f
idiv ecx
mov dword [rsp + 0x78], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x78]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x70]
mov dword [rsp + 0x80], eax
mov eax, dword [0x1400be9b8]
cmp dword [rsp + 0x30], eax
jne 0x1400069c3
jmp 0x140006e2d
mov eax, dword [rsp + 0x88]
imul eax, dword [rsp + 0x78]
xor edx, edx
div dword [rsp + 0x3c]
mov eax, edx
xor edx, edx
div dword [rsp + 0x30]
mov ecx, dword [rsp + 0x78]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, 0x13b6f
cdq
idiv dword [rsp + 0x80]
cdq
idiv dword [rsp + 0x80]
mov eax, edx
add eax, dword [rsp + 0x80]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
div dword [rsp + 0x78]
mov eax, edx
mov dword [rsp + 0x30], eax
call fcn.140001910
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
cdq
mov ecx, 0x14009
idiv ecx
imul eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x38]
lea eax, [rcx + rax + 0xfb94]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x80]
call fcn.140003de0
xor edx, edx
mov eax, dword [rsp + 0x38]
div dword [rsp + 0x38]
sub eax, 0x17d84
mov ecx, dword [rsp + 0x30]
imul ecx, dword [rsp + 0x30]
sub eax, ecx
sub eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x78]
mov dword [0x1400be9bc], eax
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x88]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x88]
and eax, 0xc8aa
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x70]
sub edx, ecx
mov ecx, edx
or eax, ecx
mov dword [rsp + 0x38], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
div dword [rsp + 0x30]
mov eax, edx
imul eax, dword [rsp + 0x88]
xor edx, edx
div dword [rsp + 0x78]
mov eax, edx
xor edx, edx
mov ecx, 0xf79
div ecx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x88]
movzx ecx, al
mov eax, dword [rsp + 0x80]
sar eax, cl
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
call fcn.140001910
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x78]
add eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x88]
mov dword [rsp + 0x70], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x78]
mov eax, edx
mov dword [rsp + 0x54], eax
xor edx, edx
mov eax, dword [rsp + 0x70]
div dword [rsp + 0x30]
mov eax, edx
and eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x54]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x78]
lea eax, [rax + rcx + 0x8eb7]
sub eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov ecx, 0x8c1f8
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
call fcn.140001280
mov eax, dword [rsp + 0x30]
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov dword [0x1400be9c8], eax
imul eax, dword [rsp + 0x3c], 0xc71f
sub eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx + 0xf891]
mov dword [rsp + 0x80], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x78]
xor edx, edx
div dword [rsp + 0x88]
or eax, dword [rsp + 0x80]
mov dword [rsp + 0x80], eax
xor edx, edx
mov eax, 0x172b
div dword [rsp + 0x78]
mov eax, edx
xor edx, edx
div dword [rsp + 0x30]
mov eax, edx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shr eax, cl
and eax, 0x15c30
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x1400be9b8], eax
jae 0x140006d4d
jmp 0x140006eb4
mov eax, dword [rsp + 0x80]
imul eax, dword [rsp + 0x34]
mov ecx, 0x17e3c
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x70]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xc957
xor edx, edx
mov eax, dword [rsp + 0x30]
div dword [rsp + 0x38]
mov eax, edx
mov dword [rsp + 0x58], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
div dword [rsp + 0x80]
mov eax, edx
imul eax, eax, 0x17b87
mov ecx, dword [rsp + 0x34]
shr eax, cl
mov ecx, dword [rsp + 0x58]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 0x17bee
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x78]
lea eax, [rcx + rax + 0x17f36]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
add rsp, 0x68
ret