Function at 0x41c471
Capabilities:
Delete file
Download url
Get common file path
Link many functions at runtime
Receive data
Set file attributes

Disassembly:
mov eax, 0x4da0be
call fcn.004aef44
mov eax, 0x2e00
call fcn.004af620
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x44], ebx
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 4], 1
call fcn.004c5c1f
mov esi, 0x523a30
lea ecx, [ebp - 0x1c]
push esi
mov byte [ebp - 4], 2
call fcn.004c5f18
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], ebx
call fcn.004c5f18
mov al, byte [0x523a30]
mov ecx, 0x9c9
mov byte [ebp - 0x2e0c], al
xor eax, eax
lea edi, [ebp - 0x2e0b]
mov byte [ebp - 4], 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x6e4]
mov edi, 0x400
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x6e4]
push ebx
push eax
mov dword [ebp - 0x34], ebx
call fcn.004af060
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
call fcn.004d1b5c
lea eax, [ebp - 0x2e4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x1e0]
push eax
push ebx
lea eax, [ebp - 0x2e4]
push str.IRWIN
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
lea eax, [ebp - 0x1e0]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
xor eax, eax
lea edi, [ebp - 0x60]
mov dword [ebp - 0x64], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x9c]
mov dword [ebp - 0xa0], ebx
push 0x14
rep stosd dword es:[edi], eax
pop edi
lea eax, [ebp - 0xa0]
push 0xc
push ebx
push eax
mov dword [ebp - 0x38], edi
call fcn.004af060
push 0xc
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [ebp - 0xa0], 4
call fcn.004af060
push 0xc
lea eax, [ebp - 0x88]
push ebx
push eax
mov dword [ebp - 0x94], 5
call fcn.004af060
push 0xc
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x88], 1
call fcn.004af060
push 0xc
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x7c], 3
call fcn.004af060
add esp, 0x3c
mov dword [ebp - 0x64], edi
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
lea eax, [ebp - 0xa0]
push str.wininet.dll
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 5
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41c892
push str.InternetQueryOptionA
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x41c6bb
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0x4b
push ebx
call eax
test eax, eax
je 0x41c6bb
test byte [ebp - 0x84], 4
je 0x41c68d
cmp dword [ebp - 0x9c], ebx
mov dword [ebp - 0x14], 1
je 0x41c6cf
push 0x2728
lea eax, [ebp - 0x2e0c]
push dword [ebp - 0x9c]
push eax
call fcn.004b12e0
add esp, 0xc
jmp 0x41c6bb
test byte [ebp - 0x84], 8
je 0x41c6bb
push str.DetectAutoProxyUrl
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x41c6bb
push 3
lea ecx, [ebp - 0x2e0c]
push 0x2728
push ecx
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x9c], ebx
je 0x41c6cf
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [ebp - 0x78], ebx
je 0x41c6dd
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [ebp - 0x6c], ebx
je 0x41c6eb
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp - 0x14], ebx
je 0x41c892
push ebx
lea eax, [ebp - 0x1e0]
push ebx
push eax
lea eax, [ebp - 0x2e0c]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jl 0x41c892
push str.jsproxy.dll
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41c892
push str.InternetInitializeAutoProxyDll
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x41c889
push esi
lea ecx, [ebp - 0x14]
call fcn.004c5f18
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
mov dword [ebp - 0x50], 0xc
mov byte [ebp - 0xd], bl
call fcn.00415db1
push ecx
lea eax, [ebp - 0x1e0]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 6
call fcn.004c5f18
lea ecx, [ebp - 0xdc]
call fcn.00415e97
cmp eax, ebx
jne 0x41c7d6
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xdc]
push eax
call fcn.004160b3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004c5fe3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004c5eaa
mov eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
lea esi, [eax + 1]
call fcn.004c62da
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0x50]
push eax
push ebx
lea eax, [ebp - 0x1e0]
push ebx
push eax
push ebx
call dword [ebp - 0x24]
test eax, eax
je 0x41c849
push str.InternetGetProxyInfo
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x41c849
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov esi, dword [ecx - 8]
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004c62da
push eax
push esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x41c83f
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push str._s__DIRECT
push eax
call fcn.004c2c3a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c6329
push str.InternetDeInitializeAutoProxyDll
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x41c85f
push ebx
push ebx
call eax
cmp byte [ebp - 0xd], bl
je 0x41c86e
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004c6329
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00415e4c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c5eaa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.004c5c1f
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004c5eaa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004c5eaa
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8