Function at 0x10032170
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x10066040]
xor eax, esp
mov dword [esp + 0x50], eax
lea esi, [esp + 0x38]
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [eax], 0xf
mov dword [esp + 0x20], edx
cmp dword [edx + 0x10], 0
sete byte [esp + 0xb]
mov dword [esp + 0x30], ecx
mov ecx, 0x17382825
mov eax, 0xbae75a7a
jmp 0x10032200
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x18]
add eax, edi
push dword [esp + 0x1c]
push 0
push eax
call fcn.10054f70
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [edi + eax], 0
mov ecx, 0xfc3f486a
mov eax, 0xaaf68e6c
nop dword [eax]
cmp ecx, 0x21216f4c
jg 0x10032260
cmp ecx, 0xc6150ca3
jg 0x100322c0
cmp ecx, 0x97b54942
jle 0x1003235c
cmp ecx, 0xa1b36fd2
jg 0x10032697
cmp ecx, 0x97b54943
je 0x1003271d
cmp ecx, 0x9bfe44f5
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0x86390988
mov ecx, 0x41c35692
mov edx, 0xed989b56
cmove ecx, edx
jmp 0x10032200
cmp ecx, 0x41c35691
jle 0x10032310
cmp ecx, 0x49be46d5
jle 0x1003239b
cmp ecx, 0x7b53d780
jg 0x100326c3
cmp ecx, 0x49be46d6
je 0x10032738
cmp ecx, 0x63a0afef
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xbae75a7a
mov ecx, 0x7b53d781
mov edx, 0x12bf3dd1
cmovl ecx, edx
jmp 0x10032200
cmp ecx, 0x14c1b3f1
jg 0x100325b7
cmp ecx, 0xfc3f4869
jle 0x100326f6
cmp ecx, 0xfc3f486a
je 0x10032753
cmp ecx, 0x12bf3dd1
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xaaf68e6c
mov ecx, 0x41c35692
mov edx, 0x8121ad7a
cmove ecx, edx
jmp 0x10032200
cmp ecx, 0x31100fda
jg 0x10032658
cmp ecx, 0x21216f4d
je 0x1003275d
cmp ecx, 0x2830692e
je 0x10032778
cmp ecx, 0x2fc17b63
jne 0x10032200
cmp byte [esp + 0xb], 0
mov eax, 0xa03b356a
mov ecx, 0x86390988
cmovne eax, ecx
mov ecx, 0xfc3f486a
jmp 0x10032200
cmp ecx, 0x8121ad7a
je 0x10032793
cmp ecx, 0x90e197bb
je 0x1003279c
cmp ecx, 0x9774d4d6
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xaaf68e6c
mov ecx, 0x63a0afef
mov edx, 0x49be46d6
cmovl ecx, edx
jmp 0x10032200
cmp ecx, 0x41c35692
je 0x100327a6
cmp ecx, 0x44e283ae
je 0x100327b0
cmp ecx, 0x44f8fc02
jne 0x10032200
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, ecx
xor edx, 0x86e3e70
add edx, ecx
xor ecx, 0xf791c18f
lea edi, [edx + ecx]
add ecx, edx
add ecx, 0x86e3e71
mov edx, ecx
not edx
and ecx, 0xf791c18f
lea ecx, [edi + ecx*2]
add ecx, 0x86e3e71
and edx, 0x7791c18f
lea edi, [ecx + edx*2]
lea ecx, [ecx + edx*2]
add ecx, 0x86e3e72
mov edx, ecx
or edx, eax
not edx
lea edx, [edi + edx*2]
add edx, 0x86e3e72
xor ecx, eax
add ecx, edx
add ecx, edi
imul eax, ecx, 0xeef7e4e9
lea ecx, [eax - 0xa1dd86c]
mov edx, ecx
and edx, 0x2b4493fc
add eax, edx
add eax, 0xf5e22794
mov edx, ecx
xor edx, 0x2b4493fc
add edx, eax
or ecx, 0x2b4493fc
sub edx, ecx
add edx, 0xd4bb6c04
imul eax, edx, 0x56e0cca7
imul ecx, edx, 0x523e66b2
mov edx, eax
not edx
or edx, 0x4295964
sub ecx, edx
and eax, 0x4295964
add eax, ecx
add eax, 0xfbd6a69b
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov eax, ebx
not eax
mov ecx, esi
or ecx, eax
lea edx, [ecx + 1]
mov ebp, edx
sub ebp, esi
add ebp, ecx
mov edi, 0xfffffffe
sub edi, ecx
lea eax, [ebx + eax*2]
add eax, 1
or eax, esi
neg esi
or edi, esi
add edi, ebp
and edx, esi
sub edx, edi
lea ecx, [edx - 2]
mov esi, ebx
neg esi
mov edi, ecx
or edi, 0xc04350ec
add edx, edi
add edx, 0xfffffffe
mov edi, ecx
not edi
add edi, edx
and ecx, 0xc04350ec
add ecx, edi
add ecx, 0x7f795e29
mov edx, ecx
and edx, esi
add edx, edx
mov edi, ecx
sub edi, edx
sub edi, ebx
sub edi, ebx
lea edx, [ebx - 1]
or edx, ecx
add edx, edi
add edx, ecx
not ecx
or ecx, esi
lea esi, [edx + ecx]
add ecx, edx
add ecx, 2
mov edx, ecx
and edx, 0xc04350ec
add edx, esi
add edx, 2
mov esi, ecx
xor esi, 0xc04350ec
add esi, edx
or ecx, 0xc04350ec
sub esi, ecx
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
add eax, esi
imul eax, eax, 0xa79c8cb1
lea ecx, [eax + 0x51d51c8e]
mov edx, ecx
not edx
mov esi, ecx
xor esi, 0xa0d19c00
add eax, esi
add eax, 0x51d51c8e
and edx, 0x5f2e63ff
add edx, eax
and ecx, 0xa0d19c00
lea eax, [edx + ecx]
add ecx, edx
add ecx, 0x5f2e6401
mov edx, ecx
not edx
mov esi, edx
and esi, 0xf231b0bc
add eax, esi
add eax, 0x5f2e6401
lea esi, [esp + 0x38]
xor ecx, 0xdce4f43
add ecx, eax
or edx, 0xf231b0bc
sub ecx, edx
imul eax, ecx, 0xd5de3c51
add eax, 0x4ae25c00
cmp eax, dword [esp + 0x1c]
mov eax, 0xf2121f3
mov ecx, 0xdc0a5a15
cmovb eax, ecx
mov ecx, 0xfc3f486a
jmp 0x10032200
cmp ecx, 0x14c1b3f2
je 0x100327cb
cmp ecx, 0x17382825
je 0x100327ed
cmp ecx, 0x1d1a3873
jne 0x10032200
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov ecx, esi
mov edx, 0x104
push 0x104
call fcn.100328c0
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0x10
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 4]
jb 0x10032612
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], 0x10
jb 0x10032622
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x18]
mov eax, 0x599ff640
mov ecx, 0x6c43edbf
cmova eax, ecx
mov ecx, 0xfc3f486a
jmp 0x10032200
cmp ecx, 0x31100fdb
je 0x100327fa
cmp ecx, 0x31ce8af9
je 0x1003280d
cmp ecx, 0x33bd1640
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xf2121f3
mov ecx, 0xc6150ca4
mov edx, 0x7fa8e854
cmovl ecx, edx
jmp 0x10032200
cmp ecx, 0xa1b36fd3
je 0x10032828
cmp ecx, 0xa2e5b364
jne 0x10032200
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
call fcn.100328c0
add esp, 4
jmp 0x100321ef
cmp ecx, 0x7b53d781
je 0x10032843
cmp ecx, 0x7fa8e854
jne 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xdc0a5a15
mov ecx, 0x41c35692
mov edx, 0xa2e5b364
cmove ecx, edx
jmp 0x10032200
cmp ecx, 0xc6150ca4
jne 0x10032881
mov ecx, dword [esp]
cmp ecx, 0xf2121f3
mov ecx, 0x41c35692
mov edx, 0x14c1b3f2
cmove ecx, edx
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0x599ff640
mov ecx, 0x41c35692
mov edx, 0x31100fdb
cmove ecx, edx
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xa03b356a
mov ecx, 0x31ce8af9
mov edx, 0x9bfe44f5
cmovl ecx, edx
jmp 0x10032200
mov ecx, 0x17382825
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0x599ff640
mov ecx, 0x2830692e
mov edx, 0x33bd1640
cmovl ecx, edx
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0x6c43edbf
mov ecx, 0xa1b36fd3
mov edx, 0x97b54943
cmovl ecx, edx
jmp 0x10032200
mov eax, dword [esp + 0x28]
jmp 0x10032872
mov ecx, 0xfc3f486a
jmp 0x10032200
mov ecx, 0x90e197bb
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xdc0a5a15
mov ecx, 0x21216f4d
mov edx, 0x9774d4d6
cmovl ecx, edx
jmp 0x10032200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x100321ce
mov edi, dword [eax]
jmp 0x100321d2
mov dword [esp], eax
mov ecx, 0x44e283ae
jmp 0x10032200
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x10
mov eax, dword [esp + 0x24]
jae 0x1003285e
mov eax, dword [esp + 4]
jmp 0x10032860
mov ecx, dword [esp]
cmp ecx, 0xa03b356a
mov ecx, 0x41c35692
mov edx, 0x1d1a3873
cmove ecx, edx
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0x6c43edbf
mov ecx, 0x41c35692
mov edx, 0x44f8fc02
cmove ecx, edx
jmp 0x10032200
mov ecx, dword [esp]
cmp ecx, 0xbae75a7a
mov ecx, 0x41c35692
mov edx, 0x2fc17b63
cmove ecx, edx
jmp 0x10032200
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
mov ecx, dword [esp + 0xc]
mov byte [eax + ecx], 0
mov ecx, 0xfc3f486a
mov eax, 0x86390988
jmp 0x10032200
cmp ecx, 0xed989b56
jne 0x10032200
mov eax, dword [esp + 4]
movsd xmm0, qword [eax + 0x10]
mov ecx, dword [esp + 0x30]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1005440a
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret