Function at 0x426b00
Capabilities:
Query environment variable
Set environment variable

Disassembly:
sub esp, 0x820
mov eax, dword [0x488e40]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [esp + 0x824]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x50]
xor ebx, ebx
cmp eax, ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
jne 0x426b60
push str.No_root_module_to_profile._n
push 0xa
xor ecx, ecx
mov esi, edi
call fcn.0042ee20
mov eax, dword [edi]
add esp, 8
cmp eax, ebx
je 0x426b59
mov edx, dword [edi + 4]
or dword [edi + 0x38], 0x100000
push ebx
push ebx
push 0xc
push edx
call eax
xor eax, eax
jmp 0x426db6
mov ecx, dword [esp + 0x834]
mov dword [edi + 0x68], ecx
xor ebp, ebp
and ecx, 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ecx
je 0x426bb6
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x88]
cmp eax, ebx
je 0x426b8a
cmp byte [eax], bl
jne 0x426b8f
mov eax, 0x4727f1
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00427420
mov ebp, eax
cmp ebp, ebx
je 0x426bae
push ebp
push 0x47630c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x426bb2
mov dword [esp + 0xc], ebx
cmp ebp, ebx
jne 0x426bf8
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x47630c
call ebx
mov esi, eax
test esi, esi
je 0x426bf8
push esi
call fcn.0045616b
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x426bf8
push esi
push ebp
push 0x47630c
call ebx
cmp eax, esi
jbe 0x426bf8
lea esi, [esp + 0x18]
call fcn.00416a90
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov ebx, edi
call fcn.00427020
xor ebx, ebx
test byte [edi + 0x68], 0x10
je 0x426cbe
mov esi, dword [0x48d528]
cmp esi, ebx
je 0x426c47
lea eax, [esp + 0x20]
mov ecx, eax
mov edx, 0x7ff
sub esi, ecx
lea ecx, [ecx]
mov cl, byte [esi + eax]
cmp cl, bl
je 0x426c43
mov byte [eax], cl
sub edx, 1
add eax, 1
cmp edx, ebx
jg 0x426c30
mov byte [eax], bl
jmp 0x426c4b
mov byte [esp + 0x20], bl
lea edx, [esp + 0x20]
push edx
push str.depends.dll
push 0x8e
call fcn.00417f10
add esp, 0xc
test al, al
je 0x426cbe
mov esi, dword [0x48d528]
cmp esi, ebx
je 0x426cae
lea ecx, [esp + 0x20]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x426c96
cmp dl, bl
je 0x426c92
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x426c96
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x426c76
xor eax, eax
jmp 0x426c9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x426cbe
push esi
call fcn.00454dd4
add esp, 4
mov dword [0x48d528], ebx
lea ebx, [esp + 0x20]
call fcn.00416a00
mov dword [0x48d528], eax
xor ebx, ebx
mov eax, dword [edi + 0x50]
push eax
mov ecx, edi
mov byte [edi + 0x65], bl
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
call fcn.0042a6f0
mov eax, dword [edi]
cmp eax, ebx
je 0x426ce5
mov ecx, dword [edi + 4]
push ebx
push ebx
push 4
push ecx
call eax
push 0x8c
call fcn.0042f8c1
add esp, 4
cmp eax, ebx
je 0x426daa
mov esi, eax
call fcn.00402310
mov esi, eax
cmp esi, ebx
jne 0x426d16
push ebx
push ebx
push 1
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edx, dword [edi + 0x50]
mov eax, dword [edx + 0x20]
mov edx, dword [eax + 0x88]
cmp edx, ebx
je 0x426d2a
cmp byte [edx], bl
jne 0x426d2f
mov edx, 0x4727f1
mov ecx, dword [esp + 0x834]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00402520
cmp dword [esp + 0x1c], ebx
mov dword [edi + 0x6c], eax
je 0x426d66
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x426d66
push eax
push 0x47630c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp ebp, ebx
je 0x426d73
push ebp
call fcn.00454dd4
add esp, 4
cmp dword [edi + 0x6c], ebx
jne 0x426db1
cmp dword [esi + 0x1c], ebx
jne 0x426d84
or dword [edi + 0x38], 0x100000
call fcn.00402390
push esi
call fcn.0042f8ec
mov eax, dword [edi]
add esp, 4
cmp eax, ebx
je 0x426b59
mov edx, dword [edi + 4]
push ebx
push ebx
push 0xc
push edx
call eax
xor eax, eax
jmp 0x426db6
xor esi, esi
jmp 0x426d07
mov eax, 1
mov ecx, dword [esp + 0x824]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454016
add esp, 0x820
ret 8