Function at 0x412047
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c0]
sub esp, 0x940
mov eax, dword [0x46c054]
xor eax, ebp
mov dword [ebp + 0x8bc], eax
mov eax, dword [ebp + 0x8c8]
push ebx
push esi
push edi
push 0xb
pop ecx
mov esi, str._http:__www.inquiero.com_inquiero_blank.htm_
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x8cc]
xor ebx, ebx
push 0x3d4
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x1b]
push ebx
push eax
mov byte [ebp - 0x49], bl
movsb byte es:[edi], byte [esi]
call fcn.00425c80
push 6
pop ecx
mov esi, str._http:__www.inquiero.com_
lea edi, [ebp + 0x7bc]
rep movsd dword es:[edi], dword [esi]
push 0xe6
lea eax, [ebp + 0x7d6]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.00425c80
push 0x3ff
lea eax, [ebp + 0x3bd]
push ebx
push eax
mov byte [ebp + 0x3bc], bl
call fcn.00425c80
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp + 0x3bc]
add esp, 0x24
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x80]
push str.jsproxy.dll
mov dword [ebp - 0x5c], 0x400
mov dword [ebp - 0x80], 0x411baa
mov dword [ebp - 0x7c], 0x411bf1
mov dword [ebp - 0x78], fcn.00411ae8
mov dword [ebp - 0x74], 0x411c47
mov dword [ebp - 0x70], eax
call edi
cmp eax, ebx
mov dword [ebp - 0x54], eax
je 0x411eab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetInitializeAutoProxyDll
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x68], eax
je 0x411ea2
push str.InternetDeInitializeAutoProxyDll
push dword [ebp - 0x54]
call esi
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x411ea2
push str.InternetGetProxyInfo
push dword [ebp - 0x54]
call esi
cmp eax, ebx
mov dword [ebp - 0x64], eax
je 0x411ea2
lea eax, [ebp + 0x3bc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x3bc]
push eax
push ebx
push 0x444954
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push str.urlmon.dll
call edi
mov edi, eax
cmp edi, ebx
je 0x411ea2
push str.URLDownloadToFileA
push edi
call esi
cmp eax, ebx
je 0x411e9b
push ebx
push ebx
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x50]
push ebx
call eax
test eax, eax
jne 0x411e9b
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp + 0x3bc]
push eax
push ebx
call dword [ebp - 0x68]
test eax, eax
je 0x411e89
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x100
lea eax, [ebp + 0x7bc]
push eax
push 0x401
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x64]
test eax, eax
je 0x411e89
push ebx
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ebx
call fcn.00413e68
add esp, 0xc
push 6
push str.PROXY
push dword [ebp - 0x50]
call fcn.00429062
pop ecx
push eax
call fcn.004296fb
add esp, 0xc
test eax, eax
jne 0x411e7f
mov eax, dword [ebp - 0x58]
push ebx
add eax, 6
push eax
push dword [ebp - 0x60]
call fcn.00413e68
add esp, 0xc
mov byte [ebp - 0x49], 1
lea eax, [ebp - 0x50]
push eax
call fcn.00413de9
pop ecx
push ebx
push ebx
call dword [ebp - 0x6c]
lea eax, [ebp + 0x3bc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0x8bc]
mov al, byte [ebp - 0x49]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425c6b
add ebp, 0x8c0
leave
ret
push dword [esp + 8]
push dword [esp + 8]
call fcn.00411ec6
test al, al
pop ecx
pop ecx
jne 0x41205f
jmp 0x411c83
mov al, 1
ret