Function at 0x100daec1
Capabilities:
Query environment variable

Disassembly:
push 0x64
mov eax, 0x10115a23
call fcn.10062882
mov edi, ecx
mov eax, dword [edi + 0x4c]
cmp dword [eax], 0
jne 0x100daee0
and dword [edi + 0x68], 0
jmp 0x100db0c5
xor ebx, ebx
cmp dword [edi + 0x68], ebx
jne 0x100db0c5
push dword [eax]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.10051bfb
push esi
call fcn.100daa92
test al, al
jne 0x100daf0e
mov eax, dword [edi + 0x4c]
mov eax, dword [eax]
mov dword [edi + 0x68], eax
jmp 0x100db0c5
cmp dword [esi + 0x14], 8
jb 0x100daf16
mov esi, dword [esi]
mov eax, dword [edi + 0x18]
mov dword [edi + 0x68], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x100db005
mov eax, dword [edi + 0x70]
test dword [eax], 0x400
jne 0x100db005
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x4c]
push ecx
mov esi, dword [eax]
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.100803a5
mov edx, eax
mov ecx, esi
call fcn.10051bfb
test eax, eax
je 0x100daff0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
push dword [ebp - 0x70]
mov ebx, 0x1000599c
mov dword [ebp - 0x4c], ebx
call fcn.10051bfb
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.100db3b7
cmp dword [ebp - 0x30], 0
je 0x100dafde
cmp dword [ebp - 0x14], 0x10
jb 0x100dafaf
cmp dword [ebp - 0x28], 0
je 0x100dafde
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.10051bfb
lea eax, [ebp - 0x64]
lea esi, [edi + 0x34]
push eax
mov ecx, esi
call fcn.10051bfb
lea ecx, [ebp - 0x64]
call fcn.1006b464
cmp dword [esi + 0x14], 0x10
jb 0x100dafd9
mov esi, dword [esi]
mov eax, dword [edi + 0x18]
mov dword [eax], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
call fcn.1006b464
mov dword [ebp - 0x4c], 0x100059a8
lea ecx, [ebp - 0x70]
call fcn.10074a9b
lea ecx, [ebp - 0x30]
call fcn.100d97fd
jmp 0x100db0c5
xor eax, eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test ecx, ecx
jne 0x100db030
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100db030
mov byte [ebp - 0x2c], 1
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x4c]
mov eax, dword [eax]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
mov ebx, 0x100059dc
push eax
mov dword [ebp - 0x4c], ebx
call fcn.10051bfb
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x30]
call fcn.100db44b
cmp dword [ebp - 0x30], 0
je 0x100db0ab
cmp dword [ebp - 0x14], 8
jb 0x100db073
cmp dword [ebp - 0x28], 0
je 0x100db0ab
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.10051bfb
lea eax, [ebp - 0x64]
lea esi, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.10051bfb
lea ecx, [ebp - 0x64]
call fcn.1006ab66
cmp dword [esi + 0x14], 8
jb 0x100db09d
mov esi, dword [esi]
mov eax, dword [edi + 0x18]
mov dword [eax], esi
mov eax, dword [edi + 0x70]
or dword [eax], 0x400
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
call fcn.1006ab66
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], 0x100059d0
call fcn.100d9824
call fcn.1006281a
ret