Function at 0x68927e90
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x43c
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_RegOpenKeyExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x68927ec3
xor eax, eax
jmp 0x6892840d
mov eax, 2
imul eax, eax, 0
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx + eax + 4], cx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Linkage
mov ecx, dword [ebp - 0x14]
push ecx
call sym.kernelbase.dll_RegOpenKeyExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68927fed
mov dword [ebp - 4], 0x206
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.Export
mov edx, dword [ebp - 0xc]
push edx
call sym.kernelbase.dll_RegQueryValueExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68927fe4
cmp dword [ebp - 0x10], 1
je 0x68927f3e
cmp dword [ebp - 0x10], 7
jne 0x68927fe4
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx + eax*2 + 4], cx
mov eax, dword [0x6893c030]
movzx ecx, byte [eax]
and ecx, 8
je 0x68927fe4
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x68927f91
mov dword [ebp - 0x20], 0x12
jmp 0x68927f98
mov dword [ebp - 0x20], 0x21
push 0x68938310
push 0x71e
push str.load_provider
mov ecx, dword [ebp - 0x20]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x6893c030]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68927fe4
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
call fcn.689189d0
add esp, 4
push eax
push str.Export:__s_n
call fcn.68933ab0
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.68924510
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
push str.Performance
mov eax, dword [ebp - 0x14]
push eax
call sym.kernelbase.dll_RegOpenKeyExW
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.68924510
cmp dword [ebp - 8], 0
je 0x6892801f
xor eax, eax
jmp 0x6892840d
mov edx, 2
imul edx, edx, 0
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov word [ecx + edx + 0x20c], ax
mov dword [ebp - 4], 0x206
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.Object_List
mov edx, dword [ebp - 0xc]
push edx
call sym.kernelbase.dll_RegQueryValueExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68928125
cmp dword [ebp - 0x10], 1
je 0x68928077
cmp dword [ebp - 0x10], 7
jne 0x68928125
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x20c
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx + eax*2 + 0x20c], cx
mov eax, dword [0x6893c030]
movzx ecx, byte [eax]
and ecx, 8
je 0x68928125
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x689280d0
mov dword [ebp - 0x18], 0x12
jmp 0x689280d7
mov dword [ebp - 0x18], 0x21
push 0x68938310
push 0x72f
push str.load_provider
mov ecx, dword [ebp - 0x18]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x6893c030]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68928125
mov eax, dword [ebp + 0x10]
add eax, 0x20c
push eax
call fcn.689189d0
add esp, 4
push eax
push str.Object_List:__s_n
call fcn.68933ab0
add esp, 8
mov dword [ebp - 4], 0x206
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.Library
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernelbase.dll_RegQueryValueExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68928160
cmp dword [ebp - 0x10], 1
je 0x68928165
cmp dword [ebp - 0x10], 2
je 0x68928165
jmp 0x68928402
mov edx, dword [ebp - 4]
shr edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x234], ax
cmp dword [ebp - 0x10], 2
jne 0x689281bc
push 0x104
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x234]
push edx
call sym.kernelbase.dll_ExpandEnvironmentStringsW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x689281a4
cmp dword [ebp - 4], 0x104
jbe 0x689281a9
jmp 0x68928402
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x234]
push ecx
call sym.kernelbase.dll_lstrcpyW
lea edx, [ebp - 0x234]
push edx
call sym.kernelbase.dll_LoadLibraryW
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
cmp dword [ebp - 0x2c], 0
jne 0x6892825f
mov edx, dword [0x6893c030]
movzx eax, byte [edx]
and eax, 4
je 0x6892825a
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp edx, 0x2e
jne 0x68928208
mov dword [ebp - 0x28], 0x12
jmp 0x6892820f
mov dword [ebp - 0x28], 0x21
push 0x68938310
push 0x741
push str.load_provider
mov eax, dword [ebp - 0x28]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x6893c030]
push ecx
push 2
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x6892825a
lea edx, [ebp - 0x234]
push edx
call fcn.689189d0
add esp, 4
push eax
push str.Failed_to_load__s_n
call fcn.68933ab0
add esp, 8
jmp 0x68928402
push 0x104
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call sym.kernelbase.dll_GetModuleFileNameW
mov eax, dword [0x6893c030]
movzx ecx, byte [eax]
and ecx, 8
je 0x689282f3
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x689282a0
mov dword [ebp - 0x1c], 0x12
jmp 0x689282a7
mov dword [ebp - 0x1c], 0x21
push 0x68938310
push 0x746
push str.load_provider
mov ecx, dword [ebp - 0x1c]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x6893c030]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x689282f3
lea eax, [ebp - 0x234]
push eax
call fcn.689189d0
add esp, 4
push eax
push str.Loaded_provider__s_n
call fcn.68933ab0
add esp, 8
push str.Open
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.68927c40
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x414], eax
push str.Close
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.68927c40
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x418], eax
push str.Collect
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.68927c40
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x41c], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x414], 0
je 0x6892838a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x418], 0
je 0x6892838a
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x41c], 0
je 0x6892838a
mov edx, dword [ebp - 0xc]
push edx
call fcn.68924510
mov eax, 1
jmp 0x6892840d
mov eax, dword [0x6893c030]
movzx ecx, byte [eax]
and ecx, 8
je 0x689283f7
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x689283b4
mov dword [ebp - 0x24], 0x12
jmp 0x689283bb
mov dword [ebp - 0x24], 0x21
push 0x68938310
push 0x751
push str.load_provider
mov ecx, dword [ebp - 0x24]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x6893c030]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x689283f7
push str.Provider_is_missing_required_exports_n
call fcn.68933ab0
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call sym.kernelbase.dll_FreeLibrary
mov edx, dword [ebp - 0xc]
push edx
call fcn.68924510
xor eax, eax
mov esp, ebp
pop ebp
ret