Function at 0x100908e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d2a5
mov eax, dword fs:[0]
push eax
sub esp, 0x434
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 - 0x43c], edi
mov dword [ebp - 0x440], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
movups xmmword [ebp - 0x434], xmm0
push 8
movups xmmword [ebp - 0x434], xmm0
mov dword [ebp - 0x424], 0
call fcn.1012656a
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x434]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x434]
mov dword [eax], ecx
mov byte [ebp - 4], 1
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10090d71
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x438]
call fcn.10042d30
test al, al
jne 0x10090a06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100909e4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.10043c10
push 0x101a3284
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.1007c550
mov edx, dword [ebp - 0x438]
or esi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10090a49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x424], 2
je 0x10090afd
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10090d7b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.10042d30
test al, al
jne 0x10090aae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10090a90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10043c10
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 5
call fcn.1007d7e0
push 8
push dword [ebp - 0x434]
call fcn.1012659a
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebp - 0x434], 0
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10090af6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x10090d56
mov ecx, dword [ebp - 0x434]
xor eax, eax
test ecx, ecx
je 0x10090b11
mov ecx, dword [ecx]
test ecx, ecx
je 0x10090b11
mov eax, dword [ecx]
test eax, eax
je 0x10090b25
mov eax, dword [eax]
test eax, eax
je 0x10090b25
mov eax, dword [eax]
test eax, eax
je 0x10090b25
mov esi, dword [eax]
jmp 0x10090b27
xor esi, esi
mov ecx, dword [ebp - 0x428]
mov eax, ecx
mov edx, dword [esi + 8]
and ecx, 3
shr eax, 2
dec edx
and edx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
sub eax, 0x10
push eax
call fcn.10042e70
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x440], edi
mov eax, dword [ebp - 0x434]
xor ecx, ecx
mov byte [ebp - 4], 6
test eax, eax
je 0x10090b71
mov eax, dword [eax]
test eax, eax
je 0x10090b71
mov ecx, dword [eax]
mov esi, dword [ebp - 0x428]
xor eax, eax
inc esi
test ecx, ecx
je 0x10090b86
mov ecx, dword [ecx]
test ecx, ecx
je 0x10090b86
mov eax, dword [ecx]
test eax, eax
jne 0x10090b8e
xor edx, edx
jmp 0x10090b90
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, esi
shr eax, 2
dec ecx
and ecx, eax
and esi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
push dword [eax + esi*4]
call fcn.10157000
cdq
add esp, 4
mov esi, eax
xor esi, edx
sub esi, edx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x208
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push esi
mov esi, dword [ebp - 0x438]
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
je 0x10090bfe
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10090d85
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x438]
call fcn.10042d30
test al, al
jne 0x10090c62
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10090c40
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.10043c10
mov esi, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x43c]
mov byte [ebp - 4], 8
cmp dword [esi - 0xc], 0
jne 0x10090cc3
lea eax, [ebp - 0x218]
push eax
call fcn.10041f60
lea edx, [esi - 0x10]
mov byte [ebp - 4], 6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10090ca2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10090cbd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
jmp 0x10090d0c
lea eax, [ebp - 0x420]
push eax
call fcn.10041f60
lea edx, [esi - 0x10]
mov byte [ebp - 4], 6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10090ced
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10090d08
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x434]
call fcn.1007d7e0
push 8
push dword [ebp - 0x434]
call fcn.1012659a
mov edx, dword [ebp + 0xc]
add esp, 8
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x434], 0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10090d50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x43c]
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
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
int3