Function at 0x10031a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test byte [0x10056490], 8
jne 0x10031c00
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10031e80
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10031ffc
test edi, edi
je 0x10031e38
mov eax, dword [edi]
lea edx, [ebp - 0x10]
mov dword [esp + 4], str._G6KQ
mov dword [esp + 8], edx
mov dword [esp], edi
call dword [eax]
sub esp, 0xc
test eax, eax
js 0x10031de8
mov esi, dword [ebp - 0x10]
movzx eax, byte [0x10056490]
test esi, esi
je 0x10031def
test al, 8
jne 0x10031bc0
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
js 0x10031af4
mov eax, dword [esi + 0x5c]
not eax
shr eax, 0x1f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x34]
cmp dword [ebx + 0x34], eax
je 0x10031b18
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10031b68
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [esi + 0x30]
test edx, edx
js 0x10031e50
mov edi, dword [esi + 0x2c]
test edi, edi
js 0x10031e50
cmp eax, ecx
jne 0x10031b05
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
lea eax, [eax + edi*2]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
lea eax, [eax + edx*2]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
jne 0x10031b05
nop
lea esi, [esi]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 0x3c]
test edx, edx
js 0x10031c50
mov edi, dword [esi + 0x38]
test edi, edi
js 0x10031c50
cmp eax, ecx
jne 0x10031b05
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
lea eax, [eax + edi*2]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
lea eax, [eax + edx*2]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
je 0x10031c58
jmp 0x10031b05
mov eax, dword [esi + 0x18]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.comparing_to__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.Uri_IsEqual
mov dword [esp + 4], 0x10056490
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_18
jmp 0x10031ad5
mov eax, dword [ebx + 0x18]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__s_____p__p__n
mov dword [esp + 8], str.Uri_IsEqual
mov dword [esp + 4], 0x10056490
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_18
jmp 0x10031a7c
cmp eax, ecx
jne 0x10031b05
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov ecx, dword [esi + 0x48]
test eax, eax
js 0x10031cb0
mov edi, dword [esi + 0x44]
test edi, edi
js 0x10031cb0
cmp ecx, edx
jne 0x10031b05
mov edx, dword [esi + 0x18]
lea edx, [edx + edi*2]
mov edi, dword [ebx + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
lea eax, [edi + eax*2]
mov edi, dword [ebp - 0x18]
mov dword [esp], eax
test edi, edi
je 0x10031e97
call dword [sym.imp.shlwapi.dll_StrCmpNIW]
sub esp, 0xc
test eax, eax
je 0x10031cb8
jmp 0x10031b05
cmp ecx, edx
jne 0x10031b05
mov edi, dword [ebx + 0x58]
mov eax, dword [esi + 0x58]
test edi, edi
je 0x10031e60
test eax, eax
je 0x10031b05
mov eax, dword [esi + 0x54]
cmp dword [ebx + 0x54], eax
jne 0x10031b05
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x6c]
mov edx, dword [esi + 0x6c]
mov dword [ebp - 0x18], ecx
cmp ecx, 9
je 0x10031ead
mov ecx, dword [ebx + 0x68]
mov edi, ecx
test ecx, ecx
js 0x10031e70
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x10031e70
cmp eax, edx
je 0x10032054
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10031b05
cmp eax, 0xffffffff
je 0x10032006
cmp edx, 1
je 0x10032021
cmp eax, edx
jne 0x10031b05
mov edx, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x78]
mov eax, dword [esi + 0x78]
test edx, edx
js 0x10031e8a
mov edi, dword [esi + 0x74]
test edi, edi
js 0x10031e8a
cmp eax, ecx
jne 0x10031b05
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
lea eax, [eax + edi*2]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
lea eax, [eax + edx*2]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
jne 0x10031b05
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x80]
mov edx, dword [esi + 0x80]
test eax, eax
js 0x10031fef
mov edi, dword [esi + 0x7c]
test edi, edi
js 0x10031fef
cmp edx, ecx
jne 0x10031b05
mov dword [esp + 8], edx
mov edx, dword [esi + 0x18]
add edi, edi
add eax, eax
add edx, edi
mov dword [esp + 4], edx
add eax, dword [ebx + 0x18]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
jne 0x10031b05
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [eax], 1
jmp 0x10031b07
movzx eax, byte [0x10056490]
mov esi, 0x80004001
test al, 1
je 0x10031b07
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.__p_____p__p__No_support_for_unknown_IUris_yet._n
mov dword [esp + 8], str.Uri_IsEqual
mov dword [esp + 4], 0x10056490
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_18
jmp 0x10031b07
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [eax], 0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp eax, ecx
je 0x10031b68
jmp 0x10031b05
test eax, eax
je 0x10031cda
jmp 0x10031b05
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10031d2c
jmp 0x10031d1a
mov esi, 0x8000ffff
jmp 0x10031b07
cmp eax, ecx
je 0x10031d80
jmp 0x10031b05
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
je 0x10031cb8
jmp 0x10031b05
test eax, eax
je 0x1003203f
test edx, edx
je 0x10031b05
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x68]
lea edi, [edi + ecx*2]
cmp eax, edx
je 0x10032081
mov dword [esp + 0xc], 0
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov eax, edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._canonicalize_path_hierarchical
mov edi, dword [esi + 0x68]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [eax + edi*2]
mov dword [esp], 0
call sym._canonicalize_path_hierarchical
mov edx, dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
add eax, eax
mov dword [esp], eax
call edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10032114
add edi, edi
mov edx, dword [ebp - 0x18]
mov dword [esp], edi
call edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100320fe
mov edi, dword [ebx + 0x68]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x6c]
mov dword [esp + 8], 0
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x14]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], edi
call sym._canonicalize_path_hierarchical
mov edi, dword [esi + 0x68]
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x6c]
mov dword [esp + 8], 0
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x18]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], edi
call sym._canonicalize_path_hierarchical
cmp dword [ebp - 0x1c], eax
je 0x100320ba
mov edi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ebx
jmp 0x10031b05
cmp edx, ecx
je 0x10031dd2
jmp 0x10031b05
mov esi, 0x80004003
jmp 0x10031b07
test edx, edx
jne 0x10031d2c
mov eax, dword [ebx + 0x18]
cmp word [eax + edi*2], 0x2f
jne 0x10031b05
jmp 0x10031d34
test eax, eax
jne 0x10031d2c
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x18]
cmp word [eax + edx*2], 0x2f
jne 0x10031b05
jmp 0x10031d34
test edx, edx
sete dl
movzx edx, dl
test edx, edx
jne 0x10031d34
jmp 0x10031b05
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*2]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
lea eax, [eax + edi*2]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_StrCmpNW]
sub esp, 0xc
test eax, eax
je 0x10031d34
jmp 0x10031b05
mov dword [esp + 8], eax
mov edx, dword [esi + 0x68]
add edx, edx
add edx, dword [esi + 0x18]
mov dword [esp], edi
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
je 0x10031d34
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x34]
add edx, edx
add edx, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov edi, edx
mov eax, dword [ebx + 0x6c]
jmp 0x10031ece
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
xor edx, edx
mov dword [esp], edi
test eax, eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
sete dl
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
call eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x14]
call eax
mov edx, dword [ebp - 0x1c]
jmp 0x10032047
mov eax, dword [ebp - 0x14]
mov esi, 0x8007000e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10031b07
mov esi, 0x8007000e
jmp 0x10031b07