Function at 0x10097070
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ef37
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50c], edi
mov dword [ebp - 0x508], 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 1
push str..__A_z_:______:________:__._eE__xX__eE__.__
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x46c], 0
movups xmmword [ebp - 0x47c], xmm0
call fcn.10094db0
push 0x38
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.1014de30
xorps xmm0, xmm0
mov dword [ebp - 0x4ec], 0
mov byte [ebp - 0x4e8], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov byte [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 0
mov byte [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 0x4b8], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov byte [ebp - 4], 3
mov word [edi], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x508], 1
push eax
call fcn.1014de30
add esp, 0x18
lea ecx, [ebp - 0x218]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100971d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.10044c60
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x47c]
cmovae ecx, dword [ebp - 0x450]
push 1
push 0
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4ec]
push edx
lea ecx, [ebp - 0x450]
cmovae ecx, dword [ebp - 0x450]
push eax
push ecx
call fcn.1007e800
add esp, 0x18
test al, al
je 0x10097316
mov ecx, dword [ebp - 0x4e0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4e4]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x10097316
cmp eax, 1
lea eax, [ebp - 0x4c0]
jbe 0x10097279
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x10097286
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1009728a
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], dx
cmp ecx, eax
je 0x100972bc
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x438]
call fcn.10044c60
lea eax, [ebp - 0x438]
mov dword [ebp - 0x508], 7
cmp edi, eax
je 0x1009730b
mov ecx, edi
call fcn.100424a0
movups xmm0, xmmword [ebp - 0x438]
xor eax, eax
mov word [ebp - 0x438], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
lea ecx, [ebp - 0x438]
call fcn.100424a0
mov eax, dword [edi + 0x10]
or esi, 0xffffffff
test eax, eax
jne 0x10097589
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x424], eax
push str..__A_z_:______:________:__._dD__lL__lL__.__
lea ecx, [ebp - 0x434]
movups xmmword [ebp - 0x434], xmm0
call fcn.10094db0
push 0x38
lea eax, [ebp - 0x4b4]
push 0
push eax
call fcn.1014de30
xorps xmm0, xmm0
mov dword [ebp - 0x4b4], 0
mov byte [ebp - 0x4b0], 0
movups xmmword [ebp - 0x4ac], xmm0
mov dword [ebp - 0x49c], 0
mov byte [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov byte [ebp - 0x480], 0
xor eax, eax
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 7
mov word [ebp - 0x504], ax
push 0x208
push eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 7
push eax
call fcn.1014de30
add esp, 0x18
lea ecx, [ebp - 0x420]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097432
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.10044c60
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x468]
mov eax, dword [ebp - 0x458]
lea edx, [ebp - 0x434]
cmovae ecx, dword [ebp - 0x468]
push 1
push 0
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x4b4]
push edx
lea ecx, [ebp - 0x468]
cmovae ecx, dword [ebp - 0x468]
push eax
push ecx
call fcn.1007e800
add esp, 0x18
test al, al
je 0x100974f2
mov ecx, dword [ebp - 0x4a8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4ac]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x100974f2
lea ecx, [ebp - 0x488]
cmp eax, 1
jbe 0x100974d3
lea ecx, [esi + 0xc]
lea eax, [ebp - 0x524]
push eax
call fcn.10094fa0
push eax
mov ecx, edi
call fcn.10088be0
lea ecx, [ebp - 0x524]
call fcn.100424a0
lea ecx, [ebp - 0x468]
call fcn.100424a0
lea ecx, [ebp - 0x504]
call fcn.100424a0
lea ecx, [ebp - 0x4ac]
call fcn.1007ff70
mov ecx, dword [ebp - 0x434]
or esi, 0xffffffff
test ecx, ecx
je 0x10097539
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x10097539
push 0
push dword [ebp - 0x434]
call fcn.100853c0
add esp, 8
mov dword [ebp - 0x434], 0
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x10097564
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x10097564
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 4
test eax, eax
jne 0x10097589
lea eax, [ebp + 0xc]
cmp edi, eax
je 0x10097589
cmp dword [ebp + 0x20], 8
mov ecx, edi
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.10044c60
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x100975cd
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100975c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10097695
push edx
push ecx
call fcn.1012659a
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.1007ff70
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x10097617
lock xadd dword [eax + 0x20], esi
dec esi
jne 0x10097617
push 0
push dword [ebp - 0x47c]
call fcn.100853c0
add esp, 8
mov dword [ebp - 0x47c], 0
mov ecx, dword [ebp - 0x46c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x10097642
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x10097642
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x10097678
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009766e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009769a
push edx
push ecx
call fcn.1012659a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret
call fcn.101513dc
call fcn.101513dc
int3