Function at 0x5911e8
Capabilities:
Query environment variable

Disassembly:
push 0xbc
mov eax, 0x6d7b94
call fcn.00432a44
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x94]
push eax
mov esi, 0x80004005
call fcn.005865c4
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x59192d
and dword [ebp - 0x9c], 0
lea esi, [ebp - 0x9c]
push 0x13
pop ecx
push esi
push dword [0x711450]
lea edx, [ebx + 0x60]
mov word [ebp - 0xa4], cx
mov ecx, dword [eax]
push edx
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x591288
mov eax, dword [ebp - 0x94]
mov edx, esi
and dword [ebp - 0x9c], 0
push edx
push dword [0x711450]
mov ecx, dword [eax]
push 0x433200
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x591298
mov dword [ebp - 0x9c], 1
jmp 0x591298
cmp dword [ebp - 0x9c], 0
setne al
mov byte [ebx + 0x17e], al
mov eax, dword [ebx]
lea esi, [ebp - 0xa4]
sub esp, 0x10
mov edi, esp
push dword [0x711450]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
lea esi, [ebx + 0x60]
push edx
push dword [0x711464]
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5912ec
cmp dword [ebp - 0x9c], eax
setne al
jmp 0x5912ee
mov al, 1
mov byte [ebx + 0x17d], al
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x94]
and dword [ebp - 0x9c], 0
push edx
push 0x441e40
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
neg eax
lea esi, [ebp - 0xa4]
sbb eax, eax
sub esp, 0x10
mov edi, esp
not eax
and dword [ebp - 0x9c], eax
mov eax, dword [ebx]
push 0x441e40
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
push edx
push dword [0x711458]
mov ecx, dword [eax]
push 0x433200
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x591379
mov dword [ebp - 0x9c], 1
mov eax, dword [ebx]
lea esi, [ebp - 0xa4]
sub esp, 0x10
mov edi, esp
push dword [0x711458]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push 0x441dc0
mov esi, 0x433200
xor edi, edi
push esi
push dword [0x711440]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x5913c9
xor ecx, ecx
inc ecx
jmp 0x5913cf
mov ecx, dword [ebp - 0x9c]
xor eax, eax
mov dword [ebp - 0x9c], edi
test ecx, ecx
lea edx, [ebp - 0x9c]
push edx
setne al
lea edx, [ebx + 0x60]
mov dword [ebx + 0x100], eax
mov eax, dword [ebp - 0x94]
push 0x59194c
push edx
push dword [0x711440]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x59140d
xor ecx, ecx
inc ecx
jmp 0x591413
mov ecx, dword [ebp - 0x9c]
xor eax, eax
mov dword [ebp - 0x9c], edi
test ecx, ecx
lea edx, [ebp - 0x9c]
push edx
setne al
mov dword [ebx + 0x104], eax
mov eax, dword [ebp - 0x94]
push 0x441d98
push esi
push dword [0x711440]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x591454
xor eax, eax
inc eax
mov dword [ebp - 0x9c], eax
jmp 0x59145a
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x1e4], eax
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x441d98
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x59148b
lea eax, [ebp - 0x90]
push eax
call fcn.00575459
pop ecx
mov dword [ebx + 0x1e4], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push dword [0x711454]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5914d7
mov eax, dword [ebx]
lea esi, [ebp - 0xa4]
sub esp, 0x10
mov edi, esp
push dword [0x711454]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
xor edi, edi
mov esi, 0x433200
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push dword [0x71145c]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x59151e
mov eax, dword [ebx]
lea esi, [ebp - 0xa4]
sub esp, 0x10
mov edi, esp
push dword [0x71145c]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
xor edi, edi
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push dword [0x711460]
lea esi, [ebx + 0x60]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x59155a
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x17c], al
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push 0x591978
push esi
push dword [0x711440]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x591592
cmp dword [ebp - 0x9c], eax
setne al
mov dword [ebx + 0xf4], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push 0x591988
push esi
push dword [0x711440]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5915ca
cmp dword [ebp - 0x9c], eax
setne al
mov dword [ebx + 0xf0], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push dword [0x711478]
mov dword [ebp - 0x9c], edi
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x591603
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x240], al
mov dword [ebp - 0xb8], edi
mov byte [ebp - 4], 1
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x94]
push edx
push dword [0x711474]
mov ecx, dword [eax]
push 0x433200
push dword [0x711440]
push eax
call dword [ecx + 0x2c]
xor eax, eax
lea ecx, [ebp - 0xc8]
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0xb8]
push eax
call fcn.004a7687
mov byte [ebp - 4], 2
sub esp, 0x10
mov eax, dword [ebx]
lea esi, [ebp - 0xc8]
mov edi, esp
push dword [0x711474]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
lea esi, [ebx + 0x60]
push edx
push dword [0x711468]
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5916bb
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x20d], al
jmp 0x5916c1
mov al, byte [ebx + 0x20d]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test al, al
je 0x59179f
and dword [ebp - 0xb4], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
push edx
push dword [0x71146c]
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x59172b
mov ecx, ebx
call fcn.00590c6b
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x59172b
push eax
push dword [ebp - 0xb4]
mov ecx, ebx
call fcn.0058839e
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx + 4]
call fcn.0043b2c7
and dword [ebp - 0xb0], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x94]
push edx
push dword [0x711470]
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x591787
mov ecx, ebx
call fcn.00590cd9
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x591787
push eax
push dword [ebp - 0xb0]
mov ecx, ebx
call fcn.0058839e
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx + 4]
call fcn.0043b2c7
mov byte [ebp - 4], 3
push dword [ebp - 0xb0]
call edi
mov byte [ebp - 4], 1
push dword [ebp - 0xb4]
call edi
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
push edx
push 0x59199c
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5917da
mov eax, dword [ebp - 0x9c]
cmp eax, 4
ja 0x5917da
mov dword [ebx + 0x218], eax
and dword [ebp - 0xac], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x94]
push edx
push 0x5919d0
push esi
push dword [0x711440]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x591834
mov eax, dword [ebp - 0xac]
and dword [ebp - 0xac], 0
mov ecx, dword [ebx + 0x21c]
mov dword [ebp - 0xa8], eax
cmp ecx, eax
je 0x591834
push ecx
call edi
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x21c], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
push edx
push dword [0x71147c]
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x59186e
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x1b8], al
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
push edx
push 0x5919e8
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5918a7
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x220], al
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push edx
push 0x591a08
push esi
push dword [0x711440]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5918da
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x5918da
mov dword [ebx + 0x224], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
and dword [ebp - 0x9c], 0
push edx
push 0x591a30
mov ecx, dword [eax]
push esi
push dword [0x711440]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x591913
cmp dword [ebp - 0x9c], eax
setne al
mov byte [ebx + 0x1b1], al
xor esi, esi
mov byte [ebp - 4], 1
push dword [ebp - 0xac]
call edi
mov byte [ebp - 4], 0
push dword [ebp - 0xb8]
call edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x591941
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.00402698
ret 4