Function at 0x6db820
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x71d98d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x76e964]
xor eax, ebp
mov dword [ebp + 0x144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100
lea eax, [ebp + 0x44]
push eax
push 0x57abd4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6dba40
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp + 0x2c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6db890
sub ecx, edx
lea eax, [ebp + 0x44]
push ecx
push eax
lea ecx, [ebp + 0x2c]
call fcn.0059a870
cmp dword [ebp + 0x40], 0x10
lea eax, [ebp + 0x2c]
mov ebx, dword [ebp + 0x2c]
cmovae eax, ebx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x3c], 9
mov dword [ebp - 0x10], eax
jb 0x6dba03
mov edi, eax
nop dword [eax]
cmp byte [edi], 0x43
jne 0x6db925
mov ecx, edi
mov edx, 0x57aa00
mov esi, 5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x6db8f2
add ecx, 4
add edx, 4
sub esi, 4
jae 0x6db8e1
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x6db919
cmp esi, 0xfffffffd
je 0x6db915
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x6db919
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x6db919
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x6db919
xor eax, eax
jmp 0x6db91e
sbb eax, eax
or eax, 1
test eax, eax
je 0x6db930
mov eax, dword [ebp - 0x10]
cmp edi, eax
je 0x6dba03
dec edi
jmp 0x6db8d0
sub edi, dword [ebp - 0x10]
jne 0x6dba03
lea eax, [ebp]
push eax
call fcn.006d8d80
add esp, 4
cmp byte [ebp + 0x1c], 0
je 0x6db9c9
cmp byte [ebp], 0
mov byte [ebp + 0x1c], 0
je 0x6db984
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x6db96e
inc eax
lea ecx, [ebp + 4]
push eax
push dword [ebp + 4]
call fcn.0059aa90
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov byte [ebp], 0
mov eax, dword [ebp + 0x40]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x6db9c5
lea ecx, [eax + 1]
mov eax, ebx
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x6db9bb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6dba65
push ecx
push ebx
call fcn.006dd246
add esp, 8
mov al, 1
jmp 0x6dba42
cmp byte [ebp], 0
je 0x6dba03
mov edx, dword [ebp + 0x18]
cmp edx, 0x10
jb 0x6dba03
mov ecx, dword [ebp + 4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x6db9f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6dba6a
push edx
push ecx
call fcn.006dd246
add esp, 8
mov eax, dword [ebp + 0x40]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x6dba40
lea ecx, [eax + 1]
mov eax, ebx
mov dword [ebp - 4], 4
cmp ecx, 0x1000
jb 0x6dba36
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6dba6f
push ecx
push ebx
call fcn.006dd246
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.006dd760
lea esp, [ebp + 0x148]
pop ebp
ret
call fcn.0060e3b4
call fcn.0060e3b4
call fcn.0060e3b4
int3