Function at 0x79d92b60
Capabilities:
Link many functions at runtime
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x654
test byte [0x79d9e050], 8
jne 0x79d92d80
lea esi, [ebp - 0x628]
mov dword [esp + 0xc], ebx
xor edi, edi
mov dword [esp + 8], str.SystemCurrentControlSetServices_
mov dword [esp + 4], str._s_sNetworkProvider
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x634]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp], 0x80000002
mov word [ebp - 0x422], di
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
je 0x79d92c40
test byte [0x79d9e050], 4
jne 0x79d92bf0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.Couldnt_open_service_key_for_provider__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x10f
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 2
call sym._ros_dbg_log
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x62c]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x634]
lea edi, [ebp - 0x630]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.ProviderPath
mov dword [esp], eax
mov dword [ebp - 0x62c], 0x208
call sym._RegQueryValueExW_24
sub esp, 0x18
test eax, eax
jne 0x79d92d20
mov eax, dword [ebp - 0x630]
lea edx, [eax - 1]
cmp edx, 1
ja 0x79d92d20
cmp eax, 2
je 0x79d92e90
mov eax, dword [ebp - 0x634]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Name
mov dword [esp], eax
mov dword [ebp - 0x62c], 0
call sym._RegQueryValueExW_24
mov edx, dword [ebp - 0x62c]
sub esp, 0x18
test edx, edx
jne 0x79d92dd0
test byte [0x79d9e050], 4
jne 0x79d92e63
mov eax, dword [ebp - 0x634]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x79d9e050], 4
je 0x79d92d06
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.ProviderPath
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.Couldnt_open_value__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x10b
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x79d92d06
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], 0x79d9f6e0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x91
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d92b7b
mov dword [ebp - 0x63c], edx
call sym._GetProcessHeap_0
mov edx, dword [ebp - 0x63c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call sym._HeapAlloc_12
sub esp, 0xc
mov dword [ebp - 0x63c], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x634]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Name
mov dword [esp], eax
call sym._RegQueryValueExW_24
sub esp, 0x18
test eax, eax
jne 0x79d92e3c
cmp dword [ebp - 0x630], 1
je 0x79d92edb
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x63c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
sub esp, 0xc
jmp 0x79d92cf9
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.Couldnt_get_provider_name_for_provider__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x106
jmp 0x79d92d51
lea edx, [ebp - 0x218]
lea eax, [ebp - 0x420]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ExpandEnvironmentStringsW_12
lea edx, [ebp - 0x218]
sub esp, 0xc
test eax, eax
je 0x79d92cac
lea eax, [ebp - 0x420]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._lstrcpyW_8
sub esp, 8
jmp 0x79d92cac
mov esi, dword [ebp - 0x63c]
test esi, esi
je 0x79d92cf9
lea eax, [ebp - 0x420]
mov dword [esp], eax
call sym._LoadLibraryW_4
sub esp, 4
mov esi, eax
test eax, eax
je 0x79d930e8
mov dword [esp + 4], str.NPGetCaps
mov dword [esp], eax
call sym._GetProcAddress_8
mov dword [ebp - 0x640], eax
movzx eax, byte [0x79d9e050]
sub esp, 8
test al, 8
jne 0x79d9311c
cmp dword [ebp - 0x640], 0
je 0x79d931df
mov ebx, dword [section..bss]
mov eax, dword [ebp - 0x63c]
mov edi, dword [ebx + 8]
imul edx, edi, 0x38
add edx, ebx
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x63c], edx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call eax
mov edx, dword [ebp - 0x63c]
sub esp, 4
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x640]
mov dword [esp], 2
call eax
imul edx, edi, 0x38
sub esp, 4
mov dword [ebx + edx + 0x1c], eax
test byte [0x79d9e050], 8
jne 0x79d93280
mov dword [esp], 0xb
mov eax, dword [ebp - 0x640]
call eax
imul edx, edi, 0x38
sub esp, 4
mov dword [ebx + edx + 0x20], eax
test eax, eax
je 0x79d93086
test byte [0x79d9e050], 8
jne 0x79d93565
mov dword [esp + 4], str.NPOpenEnum
mov dword [esp], esi
call sym._GetProcAddress_8
imul edx, edi, 0x38
push ecx
push ecx
mov dword [ebx + edx + 0x24], eax
test byte [0x79d9e050], 8
jne 0x79d93528
mov dword [esp + 4], str.NPEnumResource
mov dword [esp], esi
call sym._GetProcAddress_8
push edx
push edx
imul edx, edi, 0x38
mov dword [ebx + edx + 0x28], eax
test byte [0x79d9e050], 8
jne 0x79d934eb
mov dword [esp + 4], str.NPCloseEnum
mov dword [esp], esi
call sym._GetProcAddress_8
imul edx, edi, 0x38
push ecx
push ecx
mov dword [ebx + edx + 0x2c], eax
test byte [0x79d9e050], 8
jne 0x79d934ae
mov dword [esp + 4], str.NPGetResourceInformation
mov dword [esp], esi
call sym._GetProcAddress_8
push edx
push edx
imul edx, edi, 0x38
mov dword [ebx + edx + 0x30], eax
test byte [0x79d9e050], 8
jne 0x79d93471
imul eax, edi, 0x38
add eax, ebx
cmp dword [eax + 0x24], 0
je 0x79d93335
cmp dword [eax + 0x28], 0
je 0x79d93335
cmp dword [eax + 0x2c], 0
je 0x79d93335
mov dword [esp], 6
mov eax, dword [ebp - 0x640]
call eax
sub esp, 4
mov dword [ebp - 0x63c], eax
test al, 1
jne 0x79d93317
test byte [ebp - 0x63c], 8
jne 0x79d932f9
test byte [ebp - 0x63c], 2
jne 0x79d932db
test byte [ebp - 0x63c], 4
jne 0x79d932bd
test byte [0x79d9e050], 8
jne 0x79d9339c
mov eax, dword [section..bss]
add dword [eax + 8], 1
jmp 0x79d92d06
test byte [0x79d9e050], 4
jne 0x79d93217
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x63c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
sub esp, 0xc
jmp 0x79d92d06
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], str.loaded_lib__p_n
mov dword [esp + 0x10], 0xbe
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
cmp dword [ebp - 0x640], 0
movzx eax, byte [0x79d9e050]
je 0x79d931df
mov ebx, dword [section..bss]
mov ecx, dword [ebp - 0x63c]
mov edi, dword [ebx + 8]
imul edx, edi, 0x38
add edx, ebx
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], ecx
test al, 8
je 0x79d92f53
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [ebp - 0x63c], edx
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.name_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc7
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
mov edx, dword [ebp - 0x63c]
jmp 0x79d92f53
test al, 4
jne 0x79d9359e
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x63c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
sub esp, 0xc
mov dword [esp], esi
call sym._FreeLibrary_4
push eax
jmp 0x79d92d06
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 4], 0xffffffff
mov ebx, eax
lea eax, [ebp - 0x420]
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Couldnt_load_library__s_for_provider__s_n
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x79d930f5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.net_type_is_0x_08x_n
mov dword [esp + 0x10], 0xcb
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d92f9d
mov dword [esp + 4], str.NPGetConnection
mov dword [esp], esi
call sym._GetProcAddress_8
push edx
push edx
imul edx, edi, 0x38
mov dword [ebx + edx + 0x40], eax
jmp 0x79d930cd
mov dword [esp + 4], str.NPCancelConnection
mov dword [esp], esi
call sym._GetProcAddress_8
imul edx, edi, 0x38
push ecx
push ecx
mov dword [ebx + edx + 0x3c], eax
jmp 0x79d930c0
mov dword [esp + 4], str.NPAddConnection3
mov dword [esp], esi
call sym._GetProcAddress_8
push edx
push edx
imul edx, edi, 0x38
mov dword [ebx + edx + 0x38], eax
jmp 0x79d930b3
mov dword [esp + 4], str.NPAddConnection
mov dword [esp], esi
call sym._GetProcAddress_8
imul edx, edi, 0x38
push ecx
push ecx
mov dword [ebx + edx + 0x34], eax
jmp 0x79d930a6
imul eax, edi, 0x38
add eax, ebx
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
test byte [0x79d9e050], 4
je 0x79d93086
mov dword [esp + 0x14], str.Couldnt_load_enumeration_functions_n
mov dword [esp + 0x10], 0xe0
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x79d93086
imul edi, edi, 0x38
add ebx, edi
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x14], str.NPAddConnection__p_n
mov dword [esp + 0x10], 0xee
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
test byte [0x79d9e050], 8
je 0x79d930da
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x14], str.NPAddConnection3__p_n
mov dword [esp + 0x10], 0xef
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
test byte [0x79d9e050], 8
je 0x79d930da
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x14], str.NPCancelConnection__p_n
mov dword [esp + 0x10], 0xf0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d930da
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.NPGetResourceInformation__p_n
mov dword [esp + 0x10], 0xd7
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d93063
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.NPCloseEnum__p_n
mov dword [esp + 0x10], 0xd5
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d9303d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.NPEnumResource__p_n
mov dword [esp + 0x10], 0xd3
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d93017
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.NPOpenEnum__p_n
mov dword [esp + 0x10], 0xd1
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d92ff1
mov dword [esp + 0x14], str.supports_enumeration_n
mov dword [esp + 0x10], 0xcf
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x79d92fcb
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.Provider__s_didnt_export_NPGetCaps_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xf5
mov dword [esp + 0xc], str._tryLoadProvider
mov dword [esp + 8], 0x79d9f71d
mov dword [esp + 4], 0x79d9e050
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x79d931e7