Function at 0x729890
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x75edcd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x79de74]
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 pe_nt_image_headers32
lea eax, [ebp + 0x44]
push eax
push 0x666564
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x729ab0
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 0x729900
sub ecx, edx
lea eax, [ebp + 0x44]
push ecx
push eax
lea ecx, [ebp + 0x2c]
call fcn.00682a40
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 0x729a73
mov edi, eax
nop dword [eax]
cmp byte [edi], 0x43
jne 0x729995
mov ecx, edi
mov edx, 0x66638c
mov esi, 5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x729962
add ecx, 4
add edx, 4
sub esi, 4
jae 0x729951
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x729989
cmp esi, 0xfffffffd
je 0x729985
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x729989
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x729989
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x729989
xor eax, eax
jmp 0x72998e
sbb eax, eax
or eax, 1
test eax, eax
je 0x7299a0
mov eax, dword [ebp - 0x10]
cmp edi, eax
je 0x729a73
dec edi
jmp 0x729940
sub edi, dword [ebp - 0x10]
jne 0x729a73
lea eax, [ebp]
push eax
call fcn.00726df0
add esp, 4
cmp byte [ebp + 0x1c], 0
je 0x729a39
cmp byte [ebp], 0
mov byte [ebp + 0x1c], 0
je 0x7299f4
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x7299de
inc eax
lea ecx, [ebp + 4]
push eax
push dword [ebp + 4]
call fcn.00682c60
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 0x729a35
lea ecx, [eax + 1]
mov eax, ebx
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x729a2b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x729ad5
push ecx
push ebx
call fcn.0072b294
add esp, 8
mov al, 1
jmp 0x729ab2
cmp byte [ebp], 0
je 0x729a73
mov edx, dword [ebp + 0x18]
cmp edx, 0x10
jb 0x729a73
mov ecx, dword [ebp + 4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x729a69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x729ada
push edx
push ecx
call fcn.0072b294
add esp, 8
mov eax, dword [ebp + 0x40]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x729ab0
lea ecx, [eax + 1]
mov eax, ebx
mov dword [ebp - 4], 4
cmp ecx, 0x1000
jb 0x729aa6
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x729adf
push ecx
push ebx
call fcn.0072b294
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.0072b7b0
lea esp, [ebp + 0x148]
pop ebp
ret
call fcn.006e7474
call fcn.006e7474
call fcn.006e7474
int3