Function at 0x100b4be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101eb0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x18], ecx
xor edi, edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0x24
mov dword [ebp - 0xc], 0x26
mov dword [ebp - 8], 0x2a
cmp dword [0x101efe10], esi
jne 0x100b4c8c
push 3
push 0x20
push 3
push 1
push 3
push 2
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x23
xor ecx, ecx
mov dword [0x101efe10], 0x11c
push 0x101efe10
mov dword [0x101efe14], 6
mov dword [0x101efe18], 1
mov word [0x101eff24], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [0x101eb05c], eax
jmp 0x100b4c91
mov eax, dword [0x101eb05c]
test eax, eax
je 0x100b4caa
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011a30
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x100b4df1
push ebx
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ebx, eax
test ebx, ebx
je 0x100b4df0
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100b4df0
push 0
push eax
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp ebx, eax
jbe 0x100b4df0
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [ebp + ebx*4 - 0x10]
cmp eax, 0x26
jne 0x100b4d90
push 0
push 0
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x100b4ded
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100b4ded
push edi
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x100b4ded
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100b4d77
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x10194a78
push 0x26
jmp 0x100b4d96
cmp word [esi + edi*2 - 4], 0x5c
je 0x100b4da4
push 0x101a63e4
lea eax, [edi + 1]
push eax
push esi
call fcn.10009bc0
jmp 0x100b4da4
push 0x10194a78
push eax
call fcn.100b18e0
mov esi, eax
add esp, 8
test esi, esi
je 0x100b4ded
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b4db0
sub ecx, edx
sar ecx, 1
push ecx
push esi
push dword [ebp - 0x14]
call fcn.10022ff0
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x100b4ded
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc ebx
xor esi, esi
cmp ebx, 3
jl 0x100b4d00
mov edi, dword [ebp - 0x1c]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10011a30
mov esp, ebp
pop ebp
ret