Function at 0x1007a1d0
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x101c1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 0x25c]
mov dword [ebp - 0x14], eax
call fcn.10003ce0
test eax, eax
jne 0x1007a226
xor al, al
jmp 0x1007a454
lea ecx, [ebp + 0x30]
call fcn.10003bb0
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.10003c50
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1007a246
mov eax, dword [esi]
cmp word [eax], 0x40
jne 0x1007a27d
mov ecx, edi
call fcn.10003ce0
dec eax
lea ecx, [ebp + 0x18]
push eax
mov edx, edi
call fcn.10084fe0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x30]
push eax
call fcn.10003b20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.10003b10
jmp 0x1007a2a3
push edi
call fcn.10003f50
lea ecx, [ebp + 0x30]
add esp, 4
cmp ecx, eax
je 0x1007a2a3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1007a297
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp + 0x30]
push eax
call fcn.10003cf0
push 0x208
lea eax, [ebp + 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x48]
lea ecx, [ebp + 0x30]
push 0x104
push eax
call fcn.10003ad0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, 0x104
jb 0x1007a322
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101b0f90
add esp, 4
lea ecx, [ebp + 0x30]
mov esi, eax
push edi
push esi
call fcn.10003ad0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
call fcn.10003f00
add esp, 4
lea ecx, [ebp + 0x30]
push eax
push esi
call fcn.10003cf0
push esi
call fcn.101b0f8b
add esp, 4
jmp 0x1007a33b
lea eax, [ebp + 0x48]
push eax
call fcn.10003f00
add esp, 4
lea ecx, [ebp + 0x30]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.10003cf0
push 0x101e54dc
lea ecx, [ebp]
call fcn.10003b60
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x30]
call fcn.10003c50
lea ecx, [ebp]
mov esi, eax
call fcn.10003c50
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x1007a368
mov edx, dword [eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1007a372
mov ecx, dword [esi]
push dword [eax + 0x10]
mov edi, dword [esi + 0x10]
push edx
push 0
mov edx, edi
mov dword [ebp - 0x10], edi
call fcn.1001b450
mov edi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x1007a40e
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x18]
call fcn.10084f70
add esp, 4
mov byte [ebp - 4], 3
mov ecx, ebx
push eax
call fcn.10003b20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.10003b10
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1007a40a
lea ecx, [ebp + 0x30]
call fcn.10003ce0
mov esi, eax
lea ecx, [ebp]
sub esi, dword [ebp - 0x18]
call fcn.10003ce0
sub esi, eax
lea edx, [ebp + 0x30]
push esi
lea ecx, [ebp + 0x18]
call fcn.10084fe0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.10003ad0
xor edx, edx
mov ecx, eax
call fcn.100848f0
mov dword [edi], eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.10003b10
mov bl, 1
jmp 0x1007a437
lea eax, [ebp + 0x30]
push eax
call fcn.10003f50
add esp, 4
cmp ebx, eax
je 0x1007a430
cmp edi, 8
jb 0x1007a425
mov esi, dword [esi]
push dword [ebp - 0x10]
mov ecx, ebx
push esi
call fcn.10003cf0
cmp dword [ebp - 0x14], 0
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10003b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.10003b10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.101b075c
lea esp, [ebp + 0x254]
pop ebp
ret