Function at 0x41dfd0
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f937
mov eax, dword fs:[0]
push eax
mov eax, 0x23d4
call fcn.00488190
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x409
push 0x823
lea eax, [ebp - 0x23ac]
push eax
push 0x6b
push dword [ebx + 4]
mov edi, 0x80004005
mov dword [ebp - 0x23cc], edi
call fcn.00412610
push 0x409
push 0x823
lea eax, [ebp - 0x1364]
push eax
push 0x6d
push dword [ebx + 4]
call fcn.00412610
lea eax, [ebp - 0x23ac]
push eax
push str.szPromoteParm____s_
call fcn.00413860
lea eax, [ebx + 0x43aa]
push eax
lea eax, [ebp - 0x23ac]
push eax
lea eax, [ebp - 0x1364]
push eax
push str._s_sLANGUAGE_s
push 0x822
push eax
call fcn.004146d0
add esp, 0x48
lea eax, [ebp - 0x31c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.BB.xml
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.00411ff0
lea eax, [ebp - 0x31c]
push 0x4a9b0c
push eax
call fcn.00487587
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e0c7
mov edi, 0x8000ffff
jmp 0x41e145
lea eax, [ebp - 0x1364]
push eax
push 0x4a9b10
call fcn.00413860
mov ecx, dword [ebx + 0xd56c]
add esp, 8
call fcn.00411290
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebx + 0xd56c]
mov dword [ecx + 4], eax
cmp byte [ebx + 0xd534], 0
jne 0x41e13c
mov eax, dword [ebx + 0xd56c]
cmp byte [eax + 0xd], 0
jne 0x41e13c
mov eax, dword [eax + 4]
test eax, eax
jne 0x41e1fc
push 0x4a9124
lea eax, [ebp - 0x23cc]
push eax
call fcn.004015b0
mov edi, dword [ebp - 0x23cc]
add esp, 8
push esi
call fcn.00487717
add esp, 4
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebx + 0x18f6]
push esi
push str._RetrievePromoteUrl__PromoteURL_:__s
call fcn.00413860
lea eax, [ebx + 0x293c]
push eax
push str._RetrievePromoteUrl__PromoteURL2_:__s
call fcn.00413860
add esp, 0x10
lea ecx, [ebx + 0x734c]
push esi
call fcn.0040c0c0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
js 0x41e19d
push 5
lea ecx, [ebx + 0x7358]
call fcn.004089a0
push eax
call esi
lea eax, [ebx + 0x293c]
push eax
lea ecx, [ebx + 0x7a10]
call fcn.0040c0c0
test eax, eax
js 0x41e1c3
push 5
lea ecx, [ebx + 0x7a1c]
call fcn.004089a0
push eax
call esi
mov ecx, dword [ebx + 0xd56c]
call fcn.00411290
mov eax, dword [ebx + 0xd56c]
mov byte [eax + 0xc], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret
push 0
push SysReAllocString
push 0
push 0
lea ecx, [ebp - 0x1364]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ecx, dword [ebx + 0xd56c]
mov dword [ecx + 8], eax
cmp byte [ebx + 0xd534], 0
jne 0x41e13c
mov eax, dword [ebx + 0xd56c]
cmp byte [eax + 0xd], 0
jne 0x41e13c
cmp dword [eax + 8], 0
jne 0x41e24b
push 0x4a9754
jmp 0x41e127
push str._RetrievePromoteUrl__InternetOpenUrlW_completed
call fcn.00413860
add esp, 4
mov dword [ebp - 0x23c8], 0
lea eax, [ebp - 0x23c8]
push eax
push 0x103
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebx + 0xd56c]
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x23c8]
test eax, eax
je 0x41e2c7
test ecx, ecx
je 0x41e2cb
cmp ecx, 0x104
jae 0x41e370
push esi
push ecx
lea eax, [ebp - 0x114]
push 1
push eax
mov byte [ebp + ecx - 0x114], 0
call fcn.00488faa
mov ecx, dword [ebp - 0x23c8]
add esp, 0x10
cmp eax, ecx
jb 0x41e35e
test ecx, ecx
jne 0x41e262
cmp byte [ebx + 0xd534], 0
jne 0x41e13c
mov eax, dword [ebx + 0xd56c]
cmp byte [eax + 0xd], 0
jne 0x41e13c
push esi
call fcn.00487717
add esp, 4
mov dword [ebp - 0x23b8], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x23b8]
push eax
push 0x4a7efc
push 1
push 0
push 0x4a7eec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x41e375
push edi
push str.CoCreateInstance_for_IXMLDOMDocument
push str._s_Failed_with_code_0x_x
call fcn.00413860
mov eax, dword [ebp - 0x23b8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41e145
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41e145
mov edi, 0x8007000e
test ecx, ecx
jne 0x41e13c
jmp 0x41e2cb
call fcn.0048697a
mov eax, dword [ebp - 0x23b8]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov edi, eax
test edi, edi
jns 0x41e3bf
push edi
push str.pXMLDoc__put_async
push str._s_Failed_with_code_0x_x
call fcn.00413860
mov eax, dword [ebp - 0x23b8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41e145
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41e145
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea eax, [ebp - 0x23e0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x23b8]
mov eax, 8
mov word [ebp - 0x23e0], ax
movq xmm0, qword [ebp - 0x23e0]
lea eax, [ebp - 0x23d0]
push eax
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x23d8], esi
mov edx, dword [ecx]
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x23d8]
push ecx
movq qword [eax + 8], xmm0
call dword [edx + 0xe8]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x41e461
push edi
push str.pXMLDoc__load
push str._s_Failed_with_code_0x_x
call fcn.00413860
mov eax, dword [ebp - 0x23b8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41e145
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41e145
mov dword [ebp - 0x23bc], 0
mov dword [ebp - 0x23b0], 0
mov eax, dword [ebp - 0x23b8]
lea edx, [ebp - 0x23bc]
mov ecx, dword [eax]
push edx
push str.__ProductInfo_CLProduct_Promotion
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x90]
mov edi, eax
test edi, edi
jns 0x41e4f5
push edi
push str.pXMLDoc__selectNodes
push str._s_Failed_with_code_0x_x
call fcn.00413860
add esp, 0xc
mov eax, dword [ebp - 0x23b0]
test eax, eax
mov byte [ebp - 4], 1
je 0x41e4c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23bc]
mov byte [ebp - 4], 0
test eax, eax
je 0x41e4d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23b8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41e145
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41e145
mov eax, dword [ebp - 0x23bc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x23bc]
lea edx, [ebp - 0x23b0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x41e4ad
jmp 0x41e520
mov eax, dword [ebp - 0x23b0]
test eax, eax
je 0x41e4b5
mov dword [ebp - 0x23c4], 0
mov dword [ebp - 0x23b4], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x23c4]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x44]
test eax, eax
js 0x41e6af
mov eax, dword [ebp - 0x23c4]
test eax, eax
je 0x41e6af
mov ecx, dword [eax]
lea edx, [ebp - 0x23b4]
push edx
push str.Category
push eax
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x41e733
mov eax, dword [ebp - 0x23b4]
lea edx, [ebp - 0x23c0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x68]
mov ecx, dword [ebp - 0x23b4]
mov edi, eax
test ecx, ecx
je 0x41e5ca
mov dword [ebp - 0x23b4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x23b4]
test eax, eax
je 0x41e5ca
mov dword [ebp - 0x23b4], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Downloader_Generic
push dword [ebp - 0x23c0]
call fcn.004896c8
add esp, 8
test eax, eax
jne 0x41e63b
mov eax, dword [ebp - 0x23b0]
lea edx, [ebp - 0x23b4]
mov ecx, dword [eax]
push edx
push 0x4a9d5c
push eax
call dword [ecx + 0x94]
mov edi, eax
test edi, edi
js 0x41e72b
mov eax, dword [ebp - 0x23b4]
lea edx, [ebp - 0x23c0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x68]
push 0x822
push dword [ebp - 0x23c0]
lea eax, [ebx + 0x18f6]
push eax
call fcn.00487152
xor eax, eax
mov word [ebx + 0x293a], ax
jmp 0x41e6aa
push str.Downloader_App
push dword [ebp - 0x23c0]
call fcn.004896c8
add esp, 8
test eax, eax
jne 0x41e6af
mov eax, dword [ebp - 0x23b0]
lea edx, [ebp - 0x23b4]
mov ecx, dword [eax]
push edx
push 0x4a9d5c
push eax
call dword [ecx + 0x94]
mov edi, eax
test edi, edi
js 0x41e72b
mov eax, dword [ebp - 0x23b4]
lea edx, [ebp - 0x23c0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x68]
push 0x822
push dword [ebp - 0x23c0]
lea eax, [ebx + 0x293c]
push eax
call fcn.00487152
xor eax, eax
mov word [ebx + 0x3980], ax
add esp, 0xc
xor edi, edi
mov ecx, dword [ebp - 0x23b0]
test ecx, ecx
je 0x41e6e3
mov dword [ebp - 0x23b0], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x23b0]
test eax, eax
je 0x41e6e3
mov dword [ebp - 0x23b0], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23b4]
mov byte [ebp - 4], 3
test eax, eax
je 0x41e6f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c4]
mov byte [ebp - 4], 2
test eax, eax
je 0x41e70b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23bc]
lea edx, [ebp - 0x23b0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x41e520
jmp 0x41e4ad
push edi
push str.pNode__selectSingleNode
jmp 0x41e739
push edi
push str.pNodeMap__getNamedItem
push str._s_Failed_with_code_0x_x
call fcn.00413860
mov eax, dword [ebp - 0x23b4]
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x41e75a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c4]
mov byte [ebp - 4], 2
test eax, eax
je 0x41e4ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41e4ad