Function at 0x10025aaa
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x100715ac
call fcn.100704a8
sub esp, 0x48
push ebx
push esi
mov dword [ebp - 0x18], 0xfffffff6
mov ebx, ecx
push edi
mov dword [ebp - 0x1c], 2
or edi, 0xffffffff
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffffff5
jle 0x10025c29
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.1001a0d2
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
jmp 0x10025b03
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10025af7
cmp dword [ebp - 0x18], edx
je 0x10025c5e
push 0xfffffffffffffff8
pop eax
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
push esi
call fcn.1001a0d2
xor edx, edx
mov dword [ebp - 0x14], edx
jmp 0x10025b40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xb0881dd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10025b30
mov dword [ebp - 0x4c], edx
jmp 0x10025bc7
mov dword [ebp - 0x14], 0xd65121ac
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], edx
jl 0x10025bac
mov dword [ebp - 0x20], 0xe96b779c
xor edx, edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + ecx*4], 0x31d26ec1
setg dl
mov dword [ebp - 0x20], edx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], edx
je 0x10025b8b
mov eax, dword [ebp - 0x4c]
mov eax, esi
cmp dword [ebp - 0x1c], edx
jne 0x10025b8d
mov eax, edx
xor ecx, ecx
cmp eax, edi
mov eax, dword [ebp - 0x14]
setne cl
sub eax, ecx
je 0x10025b9e
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
dec dword [ebp - 0x14]
jns 0x10025b59
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10025bc4
push 0x573
push edx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], edx
jle 0x10025b4a
lea ecx, [ebp - 0x38]
call fcn.10025a7b
cmp dword [ebp - 0x38], 0
je 0x10025bf3
push dword [ebp - 0x38]
call fcn.10059948
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
pop ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.10025a8e
mov dword [ebp - 4], edi
cmp dword [ebp - 0x2c], 0
je 0x10025c1c
push dword [ebp - 0x2c]
call fcn.10059948
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
pop ecx
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff5
jg 0x10025ae4
lea eax, [ebp - 0x44]
push eax
call fcn.1002304c
mov esi, eax
lea edi, [ebp - 0x38]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10025624
mov ecx, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0xc]
sub eax, 0x12c
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], dl
je 0x10025c6d
call fcn.10025a80
xor edx, edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], edx
je 0x10025bf3
push eax
mov dword [ebp - 4], edi
call fcn.10059948
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
jmp 0x10025c1b