Function at 0x10010f20
Capabilities:
Get file size

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2b0
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x280], 0
mov esi, dword [ecx + 8]
mov dword [ebp - 0x294], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x290], eax
mov eax, dword [ecx + 0x10]
test byte [0x10056130], 8
jne 0x100110b0
test ebx, ebx
je 0x10011368
mov eax, dword [ebx]
lea edx, [ebp - 0x288]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [ebp - 0x288], 0
call dword [eax + 0x60]
sub esp, 8
mov edx, eax
test eax, eax
js 0x1001105e
cmp dword [ebp - 0x288], 9
jne 0x10011368
lea edx, [ebp - 0x268]
xor eax, eax
mov ecx, 0x14
mov dword [ebp - 0x26c], 0x54
mov edi, edx
lea edx, [ebp - 0x28c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x290]
lea ecx, [ebp - 0x26c]
mov eax, dword [edi]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], edi
call dword [eax + 0xc]
sub esp, 0xc
mov edx, eax
test eax, eax
js 0x10011070
lea eax, [ebp - 0x26c]
mov dword [esp], eax
call sym.urlmon.dll_ReleaseBindInfo
sub esp, 4
test byte [ebp - 0x28a], 0x10
jne 0x1001102e
mov eax, dword [esi]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1e
mov dword [esp], esi
call dword [eax + 0x10]
sub esp, 0xc
mov edi, dword [ebp - 0x294]
mov eax, dword [esi]
cmp dword [edi + 0xc], 0xffffffff
je 0x10011100
mov edx, dword [edi + 0x10]
mov dword [esp + 4], 5
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
call dword [eax + 0x14]
xor edx, edx
sub esp, 0x10
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
test byte [0x10056130], 4
je 0x1001105e
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x1005abc5
mov dword [esp + 8], str.FileProtocol_StartEx
mov dword [esp + 4], 0x10056130
mov dword [esp], 2
mov dword [ebp - 0x290], eax
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x290]
jmp 0x1001105e
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x290]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0x18], esi
sub eax, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x1005abaa
mov dword [esp + 8], str.FileProtocol_StartEx
mov dword [esp + 4], 0x10056130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10010f75
mov dword [esp + 8], 0x1005abe0
lea edi, [ebp - 0x218]
mov dword [esp + 4], 0xb
mov dword [esp], esi
call dword [eax + 0x10]
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0
sub esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 9
mov dword [esp], ebx
call sym.urlmon.dll_CoInternetParseIUri
sub esp, 0x1c
mov edx, eax
test eax, eax
js 0x10011328
mov eax, dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], ParseURLW
mov dword [esp], edi
mov dword [ebp - 0x290], eax
call eax
sub esp, 0x1c
mov edx, eax
cmp eax, 0xffffffff
je 0x100113b0
lea eax, [ebp - 0x278]
mov dword [esp], edx
mov dword [ebp - 0x290], edx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x290]
sub esp, 8
test eax, eax
je 0x10011446
mov ecx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x278]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 8], edi
mov dword [esp + 4], 0xe
mov dword [esp], esi
call dword [eax + 0x10]
mov eax, dword [ebx]
lea edx, [ebp - 0x27c]
sub esp, 0xc
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x2c]
sub esp, 8
test eax, eax
js 0x100112cc
mov eax, dword [ebp - 0x27c]
jne 0x100112c0
cmp word [eax], 0
je 0x100112c0
mov dword [esp + 4], 0x23
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x1001125a
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x280]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
call sym._find_mime_from_ext
test eax, eax
js 0x100112b7
mov eax, dword [ebp - 0x28c]
mov edx, dword [esi]
mov dword [esp], esi
mov ecx, dword [ebp - 0x280]
and eax, 0x100000
cmp eax, 1
mov dword [esp + 8], ecx
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x16
mov dword [esp + 4], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x280]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov eax, dword [ebp - 0x27c]
lea esi, [esi]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
mov eax, dword [ebp - 0x294]
mov edx, dword [esi]
mov eax, dword [eax + 0x10]
mov dword [esp], esi
mov dword [esp + 4], 5
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
call dword [edx + 0x14]
mov eax, dword [esi]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [eax + 0x18]
xor edx, edx
sub esp, 0x10
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
test byte [0x10056130], 4
jne 0x10011378
mov eax, dword [esi]
mov dword [ebp - 0x290], edx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], esi
call dword [eax + 0x18]
mov edx, dword [ebp - 0x290]
sub esp, 0x10
jmp 0x1001105e
mov edx, 0x80070057
jmp 0x1001105e
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CoInternetParseIUri_failed:__08lx_n
mov dword [esp + 8], str.FileProtocol_StartEx
mov dword [esp + 4], 0x10056130
mov dword [esp], 2
mov dword [ebp - 0x290], eax
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x290]
jmp 0x10011331
mov dword [esp + 4], 0x23
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x10011413
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x290]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], ParseURLW
mov dword [esp], edi
call eax
sub esp, 0x1c
mov edx, eax
cmp eax, 0xffffffff
jne 0x100111ba
mov eax, dword [esi]
mov dword [esp + 0xc], 0
mov edx, dword fs:[0x18]
mov edx, dword [edx + 0x34]
mov dword [esp + 4], 0x800c0005
mov dword [esp], esi
mov dword [esp + 8], edx
call dword [eax + 0x18]
mov edx, 0x800c0005
sub esp, 0x10
jmp 0x1001105e
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
push ecx
jmp 0x10011413