Function at 0x410750
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x42e302
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x148]
push 0xffffffffffffffff
push 0
call fcn.004213ca
lea ecx, [esp + 0x18]
call fcn.004114b7
lea eax, [edi + 0xcc]
push str.Profiles.
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14c], 0
call fcn.00425a03
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.0041157a
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x140], 0
call fcn.004257ba
test esi, esi
je 0x4108b6
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041179a
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00411761
test eax, eax
jne 0x4108ad
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
test eax, eax
je 0x4108ad
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00411869
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.0042055f
mov eax, dword [eax]
mov esi, 0x43a2d0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x410862
test cl, cl
je 0x41085e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x410862
add eax, 2
add esi, 2
test cl, cl
jne 0x41083a
xor eax, eax
jmp 0x410867
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.004257ba
test bl, bl
je 0x410887
push 0x43a2d0
lea ecx, [esp + 0x14]
call fcn.00425b4a
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00421513
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0
call fcn.004257ba
test ebp, ebp
jne 0x4107dc
pop ebp
add edi, 0xd8
lea ecx, [esp + 0x14]
push edi
call fcn.0042552f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x140], 3
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410904
lea ecx, [esp + 0x34]
push 0x104
push ecx
push str.ALLUSERSPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x410a86
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.004258f7
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042055f
mov eax, dword [eax]
mov esi, 0x43a2d0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x410943
test cl, cl
je 0x41093f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x410943
add eax, 2
add esi, 2
test cl, cl
jne 0x41091b
xor eax, eax
jmp 0x410948
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.004257ba
test bl, bl
je 0x410968
push 0x43a2d0
lea ecx, [esp + 0x18]
call fcn.00425b4a
lea eax, [esp + 0x14]
push str....
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00425a03
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call fcn.0041157a
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x140], 3
call fcn.004257ba
test esi, esi
je 0x410a86
lea ecx, [esp + 0x18]
call fcn.0041179a
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00411761
test eax, eax
jne 0x410a7e
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
je 0x410a7e
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
call fcn.00411869
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 5
call fcn.0042055f
mov eax, dword [eax]
mov esi, 0x43a2d0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x410a33
test cl, cl
je 0x410a2f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x410a33
add eax, 2
add esi, 2
test cl, cl
jne 0x410a0b
xor eax, eax
jmp 0x410a38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.004257ba
test bl, bl
je 0x410a58
push 0x43a2d0
lea ecx, [esp + 0x10]
call fcn.00425b4a
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00421513
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 3
call fcn.004257ba
test edi, edi
jne 0x4109ad
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0
call fcn.004257ba
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], 0xffffffff
call fcn.004114f4
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 4