Function at 0x10019dec
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061cd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
mov eax, dword [0x1060af70]
and eax, 1
jne 0x10019e49
mov eax, dword [0x1060af70]
or eax, 1
mov dword [0x1060af70], eax
and dword [ebp - 4], 0
mov ecx, 0x1060af30
call fcn.1001a89d
push 0x10062914
call fcn.1004c125
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
call fcn.10019990
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jae 0x10019ebd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x1060af30
call fcn.10012add
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x1060af30
call fcn.10012af4
mov ecx, eax
call fcn.10012b0f
movzx eax, al
test eax, eax
je 0x10019ebd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x1060af30
call fcn.1001a8f1
push eax
mov ecx, dword [ebp + 8]
call fcn.1001a7bb
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
jmp 0x1001a048
lea eax, [ebp - 0x88]
push eax
call fcn.10015f9e
pop ecx
mov esi, eax
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.10019cdc
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x24]
lea eax, [ebp - 0x64]
push eax
call fcn.10019d34
add esp, 0x10
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
push 0x1060af30
push 0x42ad
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x7293
call fcn.1001a189
add esp, 0x1c
mov dword [ebp - 0x28], 0x347a
mov dword [ebp - 0x3c], 0x10008260
cmp dword [ebp - 0x28], 0x3784
jle 0x10019fd4
and dword [ebp - 0x20], 0
jmp 0x10019f50
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4c7e
jge 0x10019fce
and dword [ebp - 0x1c], 0
jmp 0x10019f66
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x73e7
jge 0x10019fc9
and dword [ebp - 0x14], 0
jmp 0x10019f7c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1493
jge 0x10019fc7
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0xa0]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.10012710
jmp 0x10019f75
jmp 0x10019f5f
jmp 0x10019f49
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001a7f2
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10012912
mov eax, dword [ebp + 8]
jmp 0x1001a048
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret