Function at 0xcb070
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0xcb079
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00014218
xor eax, eax
push ebp
push 0xcb4e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x149c70]
mov eax, dword [eax]
mov edx, 0xcb4fc
call fcn.00065094
xor edx, edx
push ebp
push 0xcb49a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0xcb468
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.00013de4
lea eax, [ebx + 4]
call fcn.00013de4
call sub.kernel32.dll_GetEnvironmentStringsA
mov esi, eax
jmp 0xcb2b5
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0001b5dc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.0001a710
mov edx, dword [ebp - 8]
mov eax, 0xcb520
call fcn.00014350
test eax, eax
je 0xcb147
lea eax, [ebx + 4]
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
mov edx, dword [ebp - 8]
mov eax, 0xcb540
call fcn.00014350
test eax, eax
je 0xcb18c
push ebx
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
mov edx, dword [ebp - 8]
mov eax, 0xcb554
call fcn.00014350
test eax, eax
je 0xcb1d4
lea eax, [ebx + 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
mov edx, dword [ebp - 8]
mov eax, 0xcb564
call fcn.00014350
test eax, eax
je 0xcb21c
lea eax, [ebx + 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
mov edx, dword [ebp - 8]
mov eax, 0xcb57c
call fcn.00014350
test eax, eax
je 0xcb264
lea eax, [ebx + 0x14]
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
mov edx, dword [ebp - 8]
mov eax, 0xcb588
call fcn.00014350
test eax, eax
je 0xcb2ac
lea eax, [ebx + 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
push eax
mov eax, dword [ebp - 8]
call fcn.00014064
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 8]
mov eax, 0xcb534
call fcn.00014350
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.0001426c
push esi
call sub.kernel32.dll_lstrlenA_1
inc eax
add esi, eax
cmp byte [esi], 0
jne 0xcb0ea
cmp dword [ebx + 0x10], 0
je 0xcb2ca
cmp dword [ebx + 0x14], 0
jne 0xcb315
lea eax, [ebp - 0x20]
call fcn.000cb048
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x10]
call fcn.00013e38
cmp dword [ebx + 0x10], 0
jne 0xcb315
cmp dword [ebx + 4], 0
je 0xcb315
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x24]
mov ecx, 0xcb598
call fcn.000140b0
mov eax, dword [ebp - 0x24]
call fcn.0005ff74
test al, al
je 0xcb315
mov edx, dword [ebx + 4]
lea eax, [ebx + 0x10]
mov ecx, 0xcb598
call fcn.000140b0
push 0xcb5a8
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0xcb5c4
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.000cf65c
mov eax, dword [ebp - 0xc]
call fcn.0001657c
test eax, eax
jne 0xcb349
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 0xc]
add edx, 8
call fcn.00015408
push 0xcb604
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0xcb618
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.000cf65c
mov eax, dword [ebp - 0xc]
call fcn.0001657c
test eax, eax
jne 0xcb37d
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0xc]
add edx, 8
call fcn.00015408
push 0xcb654
lea eax, [ebp - 0x14]
push eax
mov ecx, 0xcb660
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.000cffa0
mov eax, dword [ebp - 0x14]
call fcn.00016574
test eax, eax
je 0xcb43c
mov eax, dword [ebp - 0x14]
call fcn.00016574
mov edi, eax
dec edi
test edi, edi
jl 0xcb43c
inc edi
xor esi, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*8]
lea edx, [ebp - 0x2c]
call fcn.0001a710
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0001a4b4
mov edx, dword [ebp - 0x28]
mov eax, 0xcb690
call fcn.00014350
test eax, eax
je 0xcb438
push 0xcb6a8
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*8]
lea edx, [ebp - 0x34]
call fcn.0001a710
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0xcb6bc
call fcn.000140b0
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.000cf65c
mov eax, dword [ebp - 0xc]
call fcn.00016574
test eax, eax
je 0xcb438
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0xc]
add edx, 8
call fcn.00015408
jmp 0xcb43c
inc esi
dec edi
jne 0xcb3bc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.000b871c
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x2c]
call fcn.00013e38
mov eax, dword [0x149c70]
mov eax, dword [eax]
call fcn.000650e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xcb48c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xcb4a1
ret