Function at 0x4183d0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x491289
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b99e4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418439
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x418452
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x41847e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4184a3
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea ecx, [ebp + 1]
push ecx
call fcn.00418a40
push ebp
push edi
push eax
mov dword [esp + 0x24], eax
call fcn.0044fbc0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
mov edx, dword [esp + 0x14]
push 0x3c
push edx
call fcn.0044d150
mov ebp, dword [esp + 0x58]
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x41871f
lea ecx, [ecx]
push 3
push 0x499a28
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
jne 0x418552
push 0x3e
push esi
call fcn.0044d150
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x41871f
push str.href
add esi, 3
push esi
mov byte [edi], 0
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
cmp esi, ebx
jne 0x418539
lea esi, [edi + 1]
jmp 0x41870a
cmp byte [esi + 5], 0x22
jne 0x418544
add esi, 6
jmp 0x4185a8
add esi, 4
inc esi
cmp byte [esi], 0x20
je 0x418547
jmp 0x4185d6
push 5
push str._img
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
jne 0x418709
push 0x3e
push esi
call fcn.0044d150
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x41871f
push str.src
add esi, 3
push esi
mov byte [edi], 0
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
cmp esi, ebx
jne 0x41859f
lea esi, [edi + 1]
jmp 0x41870a
cmp byte [esi + 4], 0x22
jne 0x4185cb
add esi, 5
push 0x22
push esi
call fcn.0044d150
add esp, 8
cmp eax, ebx
jne 0x4185bf
lea esi, [edi + 1]
jmp 0x41870a
push esi
mov byte [eax], 0
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksA]
jmp 0x4185e8
add esi, 3
mov edi, edi
inc esi
cmp byte [esi], 0x20
je 0x4185d0
push 0x20
push esi
call fcn.0044d150
add esp, 8
cmp eax, ebx
je 0x4185e8
mov byte [eax], 0
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_UrlIsA]
test eax, eax
je 0x418704
push 7
push str.http:__
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
je 0x41864c
push 6
push str.ftp:__
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
je 0x41864c
push 6
push str.mms:__
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
je 0x41864c
push 7
push str.rtsp:__
push esi
call fcn.0044c1df
add esp, 0xc
test eax, eax
jne 0x418704
mov eax, esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418662
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402910
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [esp + 0x44], ebx
cmp dword [ebp + 0x14], eax
ja 0x41868c
push 1
mov ecx, ebp
call fcn.00412a10
mov esi, dword [ebp + 0x18]
add esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
cmp eax, esi
ja 0x41869b
sub esi, eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + esi*4], ebx
jne 0x4186b3
push 0x1c
call fcn.00418a06
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [edx + esi*4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x44], 1
cmp ecx, ebx
je 0x4186e5
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x28]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], 0
call fcn.00402830
inc dword [ebp + 0x1c]
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x44], 0xffffffff
jb 0x418704
mov eax, dword [esp + 0x24]
push eax
call fcn.00418a35
add esp, 4
lea esi, [edi + 1]
jmp 0x41870a
inc esi
push 0x3c
push esi
call fcn.0044d150
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4184f0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00418a4b
mov eax, dword [ebp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret