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

Disassembly:
mov eax, 0x4db77e
call fcn.004b0604
mov eax, 0x2e00
call fcn.004b0ce0
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.004c72df
mov esi, 0x524a50
lea ecx, [ebp - 0x1c]
push esi
mov byte [ebp - 4], 2
call fcn.004c75d8
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], ebx
call fcn.004c75d8
mov al, byte [0x524a50]
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.004b0720
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.004d321c
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.004b0720
push 0xc
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [ebp - 0xa0], 4
call fcn.004b0720
push 0xc
lea eax, [ebp - 0x88]
push ebx
push eax
mov dword [ebp - 0x94], 5
call fcn.004b0720
push 0xc
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x88], 1
call fcn.004b0720
push 0xc
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x7c], 3
call fcn.004b0720
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 0x41c875
push str.InternetQueryOptionA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41c69e
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0x4b
push ebx
call eax
test eax, eax
je 0x41c69e
test byte [ebp - 0x84], 4
je 0x41c670
cmp dword [ebp - 0x9c], ebx
mov dword [ebp - 0x14], 1
je 0x41c6b2
push 0x2728
lea eax, [ebp - 0x2e0c]
push dword [ebp - 0x9c]
push eax
call fcn.004b29c0
add esp, 0xc
jmp 0x41c69e
test byte [ebp - 0x84], 8
je 0x41c69e
push str.DetectAutoProxyUrl
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41c69e
push 3
lea ecx, [ebp - 0x2e0c]
push 0x2728
push ecx
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x9c], ebx
je 0x41c6b2
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x78], ebx
je 0x41c6c0
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x6c], ebx
je 0x41c6ce
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 0x41c875
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 0x41c875
push str.jsproxy.dll
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41c875
push str.InternetInitializeAutoProxyDll
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x41c86c
push esi
lea ecx, [ebp - 0x14]
call fcn.004c75d8
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.00415dd3
push ecx
lea eax, [ebp - 0x1e0]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 6
call fcn.004c75d8
lea ecx, [ebp - 0xdc]
call fcn.00415eb9
cmp eax, ebx
jne 0x41c7b9
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xdc]
push eax
call fcn.004160d5
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004c76a3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004c756a
mov eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
lea esi, [eax + 1]
call fcn.004c799a
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 0x41c82c
push str.InternetGetProxyInfo
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x41c82c
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.004c799a
push eax
push esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x41c822
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push str._s__DIRECT
push eax
call fcn.004c42fa
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c79e9
push str.InternetDeInitializeAutoProxyDll
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41c842
push ebx
push ebx
call eax
cmp byte [ebp - 0xd], bl
je 0x41c851
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004c79e9
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00415e6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c756a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.004c72df
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004c756a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004c756a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004c756a
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004c756a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8