Function at 0x41ef50
Capabilities:
Delete file
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4801d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc04
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x60], 5
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x44], 0x14
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0x4b
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
jne 0x41efe0
mov eax, 1
jmp 0x41f2ae
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
and ecx, 4
jne 0x41effa
mov edx, dword [ebp - 0x70]
and edx, 8
je 0x41f29b
lea ecx, [ebp - 0x8c]
call fcn.00406b50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
and eax, 4
je 0x41f03c
cmp dword [ebp - 0x50], 0
je 0x41f03a
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00420600
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x50], 0
jmp 0x41f090
mov eax, dword [ebp - 0x70]
and eax, 8
je 0x41f090
mov cl, byte [0x487597]
mov byte [ebp - 0x48c], cl
push 0x3ff
push 0
lea edx, [ebp - 0x48b]
push edx
call fcn.00464570
add esp, 0xc
push 3
push 0x400
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.WININET.dll_DetectAutoProxyUrl]
test eax, eax
je 0x41f090
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00420600
lea ecx, [ebp - 0x8c]
call fcn.00458400
movzx edx, al
test edx, edx
jne 0x41f289
mov byte [ebp - 0x594], 0
push 0x103
push 0
lea eax, [ebp - 0x593]
push eax
call fcn.00464570
add esp, 0xc
mov byte [ebp - 0x69c], 0
push 0x103
push 0
lea ecx, [ebp - 0x69b]
push ecx
call fcn.00464570
add esp, 0xc
lea edx, [ebp - 0x594]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x69c]
push eax
push 0
push 0
lea ecx, [ebp - 0x594]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [ebp - 0x69c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408d90
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc04], esp
lea eax, [ebp - 0x8c]
push eax
call fcn.00417fa0
mov dword [ebp - 0xc08], eax
mov ecx, dword [ebp - 0xc08]
mov dword [ebp - 0xc0c], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 1
call fcn.0041eaa0
add esp, 0x20
mov dword [ebp - 0xc10], eax
mov eax, dword [ebp - 0xc10]
mov dword [ebp - 0xc00], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406bc0
cmp dword [ebp - 0xc00], 0
je 0x41f27c
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x6b8]
call fcn.00417fa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6b8]
call fcn.00458400
movzx edx, al
test edx, edx
je 0x41f228
mov dword [ebp - 0xaf8], 0
push 0x38
push 0
lea eax, [ebp - 0xaf4]
push eax
call fcn.00464570
add esp, 0xc
mov dword [ebp - 0xaf8], 0x3c
lea ecx, [ebp - 0xbfc]
mov dword [ebp - 0xae8], ecx
mov dword [ebp - 0xae4], 0xff
mov dword [ebp - 0xac8], 1
lea edx, [ebp - 0xaf8]
push edx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00409240
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406c20
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x41f228
lea eax, [ebp - 0xbfc]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.00420600
lea ecx, [ebp - 0xabc]
push ecx
lea ecx, [ebp - 0x6b8]
call fcn.00406c20
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406c20
push eax
lea edx, [ebp - 0x69c]
push edx
call fcn.0041f2d0
add esp, 0x10
test eax, eax
je 0x41f26d
lea eax, [ebp - 0xabc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00420600
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6b8]
call fcn.00406bc0
lea ecx, [ebp - 0x69c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00406bc0
cmp dword [ebp - 0x50], 0
je 0x41f2ab
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret