Function at 0x1002c5d6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002c7aa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x9333
jge 0x1002c650
mov dword [ebp - 0x18], 1
jmp 0x1002c654
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x1002c667
mov dword [ebp - 0x1c], 1
jmp 0x1002c66b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jne 0x1002c67e
mov dword [ebp - 0x10], 1
jmp 0x1002c682
and dword [ebp - 0x10], 0
push 3
mov ecx, dword [ebp - 0x60]
call fcn.10019cac
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0xcd833989
jb 0x1002c6a3
mov dword [ebp - 0x20], 1
jmp 0x1002c6a7
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jne 0x1002c6ba
mov dword [ebp - 0x24], 1
jmp 0x1002c6be
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jne 0x1002c6d1
mov dword [ebp - 0x14], 1
jmp 0x1002c6d5
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x64]
mov dword [eax], 0xfffffff8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0xfffffff8
jle 0x1002c6f5
mov dword [ebp - 0x28], 1
jmp 0x1002c6f9
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jne 0x1002c70c
mov dword [ebp - 0x2c], 1
jmp 0x1002c710
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x3359002
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jl 0x1002c728
mov dword [ebp - 0x30], 1
jmp 0x1002c72c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x1002c73f
mov dword [ebp - 0x34], 1
jmp 0x1002c743
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
je 0x1002c756
mov dword [ebp - 0x38], 1
jmp 0x1002c75a
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x1002c76d
mov dword [ebp - 0xc], 1
jmp 0x1002c771
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jle 0x1002c799
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x1002c799
and dword [ebp - 0x40], 0
jmp 0x1002c7a0
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x1002c7cf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1002c7cf
push 0x622
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret