Function at 0x415c20
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x43ab42
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.0042b803
lea ecx, [esp + 0x18]
call fcn.00419550
push str.Profiles.
lea eax, [esp + 0x10]
push 0x450230
push eax
mov dword [esp + 0x14c], 0
call fcn.0043017a
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.00419613
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x140], 0
call fcn.0042ff31
test esi, esi
je 0x415d84
push ebp
lea ecx, [esp + 0x1c]
call fcn.00419833
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.004197fa
test eax, eax
jne 0x415d7b
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
test eax, eax
je 0x415d7b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00419902
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415d30
test cl, cl
je 0x415d2c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415d30
add eax, 2
add esi, 2
test cl, cl
jne 0x415d08
xor eax, eax
jmp 0x415d35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.0042ff31
test bl, bl
je 0x415d55
push 0x44a328
lea ecx, [esp + 0x14]
call fcn.004302c1
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0042b94c
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0
call fcn.0042ff31
test ebp, ebp
jne 0x415caa
pop ebp
add edi, 0xfc
lea ecx, [esp + 0x14]
push edi
call fcn.0042fca6
mov eax, dword [esp + 0x14]
mov byte [esp + 0x140], 3
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415dd2
lea ecx, [esp + 0x34]
push 0x104
push ecx
push str.ALLUSERSPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x415f54
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.0043006e
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415e11
test cl, cl
je 0x415e0d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415e11
add eax, 2
add esi, 2
test cl, cl
jne 0x415de9
xor eax, eax
jmp 0x415e16
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.0042ff31
test bl, bl
je 0x415e36
push 0x44a328
lea ecx, [esp + 0x18]
call fcn.004302c1
lea eax, [esp + 0x14]
push str....
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0043017a
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call fcn.00419613
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x140], 3
call fcn.0042ff31
test esi, esi
je 0x415f54
lea ecx, [esp + 0x18]
call fcn.00419833
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004197fa
test eax, eax
jne 0x415f4c
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
je 0x415f4c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
call fcn.00419902
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 5
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415f01
test cl, cl
je 0x415efd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415f01
add eax, 2
add esi, 2
test cl, cl
jne 0x415ed9
xor eax, eax
jmp 0x415f06
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.0042ff31
test bl, bl
je 0x415f26
push 0x44a328
lea ecx, [esp + 0x10]
call fcn.004302c1
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0042b94c
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 3
call fcn.0042ff31
test edi, edi
jne 0x415e7b
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0
call fcn.0042ff31
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], 0xffffffff
call fcn.0041958d
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 4