Function at 0x10b11dc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x41c], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
cmp dword [ebp - 0x418], 0
mov edi, 0x80070057
jne 0x10b1270
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push 0x100ac18
push 0x11
jmp 0x10b1295
test ebx, ebx
jne 0x10b12a5
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push 0x100ac18
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10b139d
cmp dword [ebx], 0
mov esi, 0x104
jne 0x10b1354
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push 0x100acd8
push esi
push eax
call fcn.010aceee
mov edi, eax
add esp, 0x10
test edi, edi
jge 0x10b12fb
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x13
jmp 0x10b14e2
push ebx
push 0x100adc0
lea eax, [ebp - 0x414]
push eax
xor eax, eax
cmp dword [ebp + 0xc], eax
setne al
add eax, 0x80000001
push eax
call fcn.010ba391
test eax, eax
jne 0x10b1323
cmp dword [ebx], eax
jne 0x10b1354
mov edi, 0x90070a02
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 4
je 0x10b139d
push dword [ebp - 0x418]
push 0x100ac18
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
jmp 0x10b139d
xor edi, edi
cmp dword [ebp - 0x41c], edi
je 0x10b139d
push esi
lea eax, [ebp - 0x20c]
push eax
cmp dword [ebp + 0xc], edi
je 0x10b13b0
push 0x100ada4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10b137e
cmp eax, esi
jbe 0x10b13b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10b1392
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jl 0x10b139d
mov edi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a0b37
leave
ret 0x10
push 0x100ad84
jmp 0x10b1370
push 0x1006a90
lea eax, [ebp - 0x20c]
push eax
call fcn.010b0ff7
mov edi, eax
test edi, edi
jge 0x10b13ed
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x15
jmp 0x10b14e2
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.010b0ff7
mov edi, eax
test edi, edi
jge 0x10b1424
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x16
jmp 0x10b14e2
push 0x100ad7c
lea eax, [ebp - 0x20c]
push eax
call fcn.010b0ff7
mov edi, eax
test edi, edi
jge 0x10b1462
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x17
jmp 0x10b14e2
push 0x100ad68
lea eax, [ebp - 0x20c]
push eax
call fcn.010b0ff7
mov edi, eax
test edi, edi
jge 0x10b149d
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x18
jmp 0x10b14e2
push dword [ebx]
lea eax, [ebp - 0x20c]
push eax
push 0x100ad4c
push esi
push dword [ebp - 0x41c]
call fcn.010aceee
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x10b14f2
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b139d
test byte [eax + 0x1c], 1
je 0x10b139d
push edi
push 0x100ac18
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b139d
xor edi, edi
jmp 0x10b139d