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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0xdc
mov dword [ebp - 0x48], ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x3c], edx
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], edi
lock add dword [0x703f2020], 1
mov dword [esp + 4], 0xf4
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov ecx, dword [ebp - 0x44]
mov edx, 0x703dbaa8
mov edi, eax
mov eax, 0x703dba94
movd xmm1, edx
movd xmm2, eax
mov eax, 0x703dbabc
mov edx, 0x703dbae0
mov dword [edi + 0x10], 0x703dba84
movd xmm3, eax
mov eax, dword [ebp - 0x40]
movd xmm0, edx
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
mov dword [edi + 0x14], 1
punpcklqdq xmm0, xmm1
movups xmmword [edi], xmm0
mov dword [edi + 0x84], eax
mov eax, dword [ecx]
mov dword [edi + 0x98], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x9c], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0xa0], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xa4], eax
call fcn.7038dab0
mov edx, dword [ebp - 0x3c]
mov dword [edi + 0xc8], 0
mov ecx, dword [ebp - 0x40]
mov dword [edi + 0xd8], eax
xor eax, eax
test edx, edx
sete al
mov dword [edi + 0xa8], eax
test ecx, ecx
je 0x7038900f
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
mov dword [edi + 0xd4], ebx
sub esp, 4
test esi, esi
je 0x70389024
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
mov dword [edi + 0xd0], esi
sub esp, 4
lea eax, [edi + 0xdc]
mov dword [edi + 0x2c], 0x54
mov dword [esp], eax
lea esi, [ebp - 0x34]
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [edi + 0xdc]
lea ecx, [edi + 0x18]
sub esp, 4
mov dword [ebp - 0x4c], ecx
mov dword [eax + 0x18], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_urlmon_binding.c:_Binding.section
mov eax, dword [ebx]
mov dword [esp + 8], esi
mov dword [esp + 4], str._BSCB_Holder_
mov dword [esp], ebx
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x4c]
sub esp, 0xc
test eax, eax
js 0x7038967b
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x703ed288
mov dword [esp], eax
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x34]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x7038936f
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x703ed4e8
mov dword [esp], eax
call dword [edx]
mov eax, dword [ebp - 0x3c]
sub esp, 0xc
test eax, eax
je 0x7038968a
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
mov dword [edi + 0x20], eax
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [edi + 0x80]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0xc
test eax, eax
mov ebx, eax
js 0x70389641
mov eax, dword [edi + 0x80]
test byte [0x703d80c4], 8
jne 0x703893e0
mov ecx, dword [ebp - 0x40]
mov edx, eax
or edx, 0x100000
mov dword [edi + 0x80], edx
test ecx, ecx
je 0x70389136
or dword [edi + 0x50], 0x100000
mov edx, dword [ebp - 0x48]
mov ecx, eax
not ecx
and ecx, 0x81
mov edx, dword [edx]
je 0x703895c4
mov dword [edi + 0xac], 1
or eax, 0x100040
mov dword [edi + 0x80], eax
lea eax, [edi + 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
test eax, eax
mov ebx, eax
js 0x70389356
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x70389702
mov eax, dword [ebx + 0x24]
mov edx, dword [eax]
mov dword [edi + 0x24], eax
mov dword [esp], eax
call dword [edx + 4]
mov eax, dword [ebx + 0x8c]
sub esp, 4
mov dword [edi + 0x8c], eax
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x7038939e
xor eax, eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
test eax, eax
mov ebx, eax
js 0x70389615
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x20]
test ebx, ebx
je 0x703892f8
lea edx, [edi + 8]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [edi + 4]
mov dword [esp + 4], edx
call fcn.7038dc40
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x70389234
mov edx, dword [edi + 0x18]
mov ecx, dword [edx]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [ecx + 0x18]
sub esp, 0x14
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp dword [eax + 0xc8], 2
mov dword [esp], 0
mov eax, edi
sete dl
xor ecx, ecx
lea edx, [edx*4 + 1]
call fcn.70386ad0
lea esi, [esi]
test byte [edi + 0x80], 1
jne 0x70389600
test byte [edi + 0xb0], 2
jne 0x70389600
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], 0x1388
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.user32.dll_MsgWaitForMultipleObjects]
mov ebx, dword [sym.imp.user32.dll_PeekMessageW]
sub esp, 0x14
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x475
mov dword [esp + 8], 0x400
mov eax, dword [edi + 0xd8]
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
sub esp, 0x14
test eax, eax
je 0x70389260
mov dword [esp], esi
call dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.user32.dll_DispatchMessageW]
sub esp, 4
jmp 0x703892b0
lea ecx, [edi + 8]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x10], 0x110
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x34]
sub esp, 0x18
mov ebx, eax
test byte [0x703d80c4], 8
jne 0x703896d5
test ebx, ebx
jns 0x70389260
cmp ebx, 0x8000000a
je 0x70389260
xor ecx, ecx
mov edx, ebx
mov eax, edi
call fcn.703863b0
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
test byte [0x703d80c4], 4
je 0x70389356
mov dword [esp + 0xc], str.Could_not_get_IBindStatusCallback_n
mov dword [esp + 8], str.Binding_Create
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70389356
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [0x703edc38], eax
je 0x7038979e
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [0x703edd28], eax
je 0x7038984b
test byte [0x703d80c4], 1
jne 0x703898b9
mov eax, dword [edi]
mov dword [esp], edi
mov ebx, 0x80004001
call dword [eax + 8]
sub esp, 4
jmp 0x70389361
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.bindf__08lx_n
mov dword [esp + 8], str.Binding_Create
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 3
call fcn.70386a80
test byte [0x703d80c4], 8
je 0x703895b9
mov eax, dword [edi + 0x78]
mov ebx, dword [edi + 0x7c]
mov dword [ebp - 0x7c], eax
lea eax, [edi + 0x68]
mov edx, eax
shr edx, 0x10
test edx, edx
je 0x70389830
movzx eax, byte [edi + 0x77]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0x76]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x75]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x74]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0x73]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0x72]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0x71]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 0x70]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0x6e]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x68]
mov dword [esp], 0x703db2fc
mov dword [esp + 4], eax
call fcn.70386780
mov dword [ebp - 0x88], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x48]
call fcn.703867e0
mov ecx, str.unknown
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x44]
cmp eax, 3
ja 0x703894e0
mov ecx, dword [eax*4 + 0x703db838]
mov eax, dword [edi + 0x40]
mov edx, str.unknown
cmp eax, 2
ja 0x703894f4
mov edx, dword [eax*4 + 0x703db7f4]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x80], ecx
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x30]
call fcn.703867e0
mov dword [esp + 0x54], ebx
mov ebx, dword [ebp - 0x7c]
mov dword [esp + 0x50], ebx
mov ebx, dword [ebp - 0x88]
mov dword [esp + 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x48], ebx
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x44], ebx
mov ebx, dword [ebp - 0x58]
mov dword [esp + 0x40], ebx
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp - 0x60]
mov dword [esp + 0x38], ebx
mov ebx, dword [ebp - 0x64]
mov dword [esp + 0x34], ebx
mov ebx, dword [ebp - 0x68]
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp - 0x6c]
mov dword [esp + 0x2c], ebx
mov ecx, dword [ebp - 0x80]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x20], edx
mov ecx, dword [ebp - 0x74]
mov dword [esp + 0x1c], ecx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], str._nBINDINFO___n_____ld___s__n_____ld___p___p__n_____s__n_____s__n_____s__n_____ld___08lx___ld___ld_n_____ld__p__x__n_____s_n_____p___ld_n_n
mov dword [esp + 8], str.dump_BINDINFO
mov dword [esp + 4], 0x703d80c4
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.70386a80
mov eax, dword [edi + 0x80]
jmp 0x7038911a
mov dword [esp + 4], esi
mov ebx, dword [ebp - 0x48]
mov dword [esp], ebx
call dword [edx + 0x60]
sub esp, 8
test eax, eax
js 0x70389760
mov eax, dword [ebp - 0x34]
cmp eax, 3
ja 0x70389758
test eax, eax
je 0x70389760
mov edx, dword [ebx]
jmp 0x70389160
mov eax, dword [ebp - 0x50]
xor ebx, ebx
mov dword [eax], edi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
test byte [0x703d80c4], 4
jne 0x70389771
cmp ebx, 0x80004004
je 0x7038934b
cmp ebx, 0x80004001
mov eax, 0x800c0008
cmovne ebx, eax
jmp 0x7038934b
test byte [0x703d80c4], 4
je 0x70389356
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x703db2c4
mov dword [esp + 8], str.Binding_Create
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70389356
mov dword [esp], ecx
call fcn.7038f810
mov ebx, eax
jmp 0x7038909e
lea eax, [edi + 0x20]
mov dword [esp], eax
call fcn.7038e3c0
test eax, eax
mov ebx, eax
jns 0x703890de
test byte [0x703d80c4], 4
je 0x70389356
mov dword [esp + 0xc], str.Could_not_get_protocol_handler_n
mov dword [esp + 8], str.Binding_Create
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70389356
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.start_ret__08lx_n
mov dword [esp + 8], str.start_binding
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 3
call fcn.70386a80
jmp 0x70389337
mov ebx, dword [edi + 0x20]
mov dword [esp], 0x18
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x4c], eax
mov dword [eax], 0x703dbb58
mov dword [eax + 4], 1
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
sub esp, 4
mov dword [edx + 8], ebx
lock add dword [0x703f2020], 1
mov dword [edi + 0x24], edx
jmp 0x703891a8
sub eax, 9
cmp eax, 2
jbe 0x70389767
or dword [edi + 0x80], 0x40
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
jmp 0x70389160
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.OnStartBinding_failed:__08lx_n
mov dword [esp + 8], str.start_binding
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70389622
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [0x703edc3c], eax
jne 0x703893af
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
cmp dword [0x703edc40], eax
jne 0x703893af
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
cmp dword [0x703edc44], eax
jne 0x703893af
mov ebx, dword [edi + 0x24]
mov dword [esp], 0x10
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, 0x703dbb10
mov edx, eax
mov eax, 0x703dbb20
movd xmm0, ecx
movd xmm4, eax
mov dword [ebp - 0x40], edx
punpckldq xmm0, xmm4
movq qword [edx], xmm0
mov eax, dword [ebx]
mov dword [edx + 8], 1
mov dword [esp], ebx
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
sub esp, 4
mov dword [edx + 0xc], ebx
lock add dword [0x703f2020], 1
mov eax, edx
jmp 0x703891b5
mov dword [esp + 4], eax
mov dword [esp], 0x703db2ec
call fcn.70386780
mov dword [ebp - 0x88], eax
jmp 0x70389497
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [0x703edd2c], eax
jne 0x703893c0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
cmp dword [0x703edd30], eax
jne 0x703893c0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
cmp dword [0x703edd34], eax
jne 0x703893c0
mov ebx, dword [edi + 0x24]
or dword [edi + 0x80], 0x40
mov dword [esp], 8
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [eax], 0x703dbb04
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
sub esp, 4
mov dword [edx + 4], ebx
mov eax, edx
jmp 0x703891b5
mov eax, dword [ebp - 0x44]
shr eax, 0x10
test eax, eax
je 0x70389957
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edx + 4]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], 0x703db2fc
mov dword [esp + 4], eax
call fcn.70386780
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], str.Unsupported_riid__s_n
mov dword [esp + 8], str.Binding_Create
mov dword [esp + 4], 0x703d80c4
mov dword [esp], eax
call fcn.70386a80
jmp 0x703893cd
mov eax, dword [ebp - 0x44]
mov dword [esp], 0x703db2ec
mov dword [esp + 4], eax
call fcn.70386780
jmp 0x7038992c