Function at 0x414b60
Capabilities:
Create http request
Delete file
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fd37
mov eax, dword fs:[0]
push eax
mov eax, 0x23dc
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x23d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x23f0]
mov dword fs:[0], eax
push 0x409
push 0x823
lea eax, [esp + 0x13ac]
mov ebp, ecx
mov ecx, dword [ebp + 4]
push eax
push 0x6b
xor ebx, ebx
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], 0x80004005
mov dword [esp + 0x4c], ebx
call fcn.0040e380
mov eax, dword [ebp + 4]
push 0x409
push 0x823
lea edx, [esp + 0x378]
push edx
push 0x6d
push eax
call fcn.0040e380
lea ecx, [esp + 0x13cc]
push ecx
push str.szPromoteParm____s_
call fcn.0040de80
lea edx, [ebp + 0x2b3c]
push edx
lea eax, [esp + 0x13d8]
push eax
lea ecx, [esp + 0x394]
push ecx
mov edx, ecx
push str._s_sLANGUAGE_s
push edx
call fcn.00401570
add esp, 0x44
lea eax, [esp + 0x154]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x497a5c
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x154]
push 0x497a58
push edx
call fcn.00477f07
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x414c71
mov esi, 0x8000ffff
jmp 0x414e82
lea eax, [esp + 0x35c]
push eax
push str._RetrievePromoteUrl__QueryUrl_:__s
call fcn.0040de80
add esp, 8
push ebx
push ebx
push ebx
push ebx
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [esp + 0x38], eax
jne 0x414cc1
push 0x496054
lea ecx, [esp + 0x30]
push ecx
call fcn.004012f0
mov esi, dword [esp + 0x34]
add esp, 8
push edi
call fcn.00477fdc
add esp, 4
jmp 0x414e82
push ebx
push SysReAllocString
push ebx
push ebx
lea edx, [esp + 0x36c]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, ebx
mov dword [ebp + 0xa5b4], eax
jne 0x414cee
push 0x495fa4
lea eax, [esp + 0x30]
push eax
jmp 0x414ca7
push str._RetrievePromoteUrl__InternetOpenUrlW_completed
call fcn.0040de80
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [ebp + 0xa5b4]
lea ecx, [esp + 0x30]
push ecx
push 0x103
lea edx, [esp + 0x58]
push edx
push eax
call esi
test eax, eax
mov ecx, dword [esp + 0x30]
je 0x414d46
cmp ecx, ebx
je 0x414d59
push edi
push ecx
mov byte [esp + ecx + 0x58], bl
lea ecx, [esp + 0x58]
push 1
push ecx
call fcn.00479ae8
mov ecx, dword [esp + 0x40]
add esp, 0x10
cmp eax, ecx
jb 0x414d4c
cmp ecx, ebx
ja 0x414d05
jmp 0x414d59
cmp ecx, ebx
mov esi, 0x8007000e
ja 0x414cb3
push edi
call fcn.00477fdc
add esp, 4
mov dword [esp + 0x1c], ebx
push ebx
mov dword [esp + 0x23fc], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x1c]
push edx
push 0x495244
push 1
push ebx
push 0x495234
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x414dc9
push esi
push str.CoCreateInstance_for_IXMLDOMDocument
push str._s_Failed_with_code_0x_x
call fcn.0040de80
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x23f8], 0xffffffff
je 0x414e82
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x414e82
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xfc]
push ebx
push eax
call edx
mov esi, eax
cmp esi, ebx
jge 0x414de7
push esi
push str.pXMLDoc__put_async
jmp 0x414d98
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
sub esp, 0x10
mov eax, esp
mov word [esp + 0x54], 8
mov ebp, dword [esp + 0x54]
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov ecx, edi
mov dword [esp + 0x5c], ecx
mov esi, dword [edx]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esi + 0xe8]
mov dword [eax + 0xc], ecx
call edx
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x414f16
push esi
push str.pXMLDoc__load
push str._s_Failed_with_code_0x_x
call fcn.0040de80
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x23f8], 0xffffffff
je 0x414e7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebp + 0x18ee]
push edi
push str._RetrievePromoteUrl__PromoteURL_:__s
call fcn.0040de80
add esp, 8
push edi
lea ecx, [ebp + 0x447c]
call fcn.00409770
test eax, eax
jl 0x414ec8
push 5
lea ecx, [ebp + 0x4488]
call fcn.00406760
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xa5b4]
cmp eax, ebx
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x414edb
push eax
call edi
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x414ee6
push eax
call edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [esp + 0x23f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23d8]
xor ecx, esp
call fcn.00477bf8
add esp, 0x23e8
ret
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push str.__ProductInfo_CLProduct_Promotion
push eax
mov eax, dword [ecx + 0x90]
mov byte [esp + 0x2404], 2
call eax
mov esi, eax
cmp esi, ebx
jge 0x414f90
push esi
push str.pXMLDoc__selectNodes
push str._s_Failed_with_code_0x_x
call fcn.0040de80
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x23f8], 1
je 0x414f70
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x23f8], bl
je 0x414e63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x414e63
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
mov ebp, dword [esp + 0x24]
jl 0x41517f
lea esp, [esp]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x415183
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x44]
mov byte [esp + 0x2400], 4
call eax
test eax, eax
jl 0x4150c1
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4150c1
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push str.Category
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x415134
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x415054
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x415054
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
push 0x495298
push eax
call fcn.004798f8
add esp, 8
test eax, eax
jne 0x4150c1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x497804
push eax
mov eax, dword [ecx + 0x94]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41513c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov eax, dword [esp + 0x34]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x18ee]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4150b0
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4150e9
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4150e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x23f8], 3
je 0x415101
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x23f8], 2
je 0x415119
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jge 0x414fc0
jmp 0x41517f
push esi
push str.pNodeMap__getNamedItem
jmp 0x415142
push esi
push str.pNode__selectSingleNode
push str._s_Failed_with_code_0x_x
call fcn.0040de80
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x23f8], 3
je 0x415167
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x23f8], 2
je 0x41517f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x23f8], 1
je 0x415197
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x23f8], bl
je 0x414da5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x414da5