Function at 0x404b40
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5694ac
mov eax, dword fs:[0]
push eax
sub esp, 0xd54
mov eax, dword [0x5cce74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0
push 0x5adfb5
lea ecx, [ebp - 0xcb4]
mov dword [ebp - 0xca0], 0xf
mov dword [ebp - 0xca4], 0
mov byte [ebp - 0xcb4], 0
call fcn.004038f0
lea eax, [ebp - 0xccc]
mov dword [ebp - 4], 0
push eax
call fcn.00405a90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xcb4]
mov byte [ebp - 4], 1
call fcn.00403c50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xcb8]
cmp eax, 0x10
jb 0x404c1b
mov ecx, dword [ebp - 0xccc]
inc eax
cmp eax, 0x1000
jb 0x404c12
test cl, 0x1f
je 0x404bee
call fcn.0055020c
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x404bfa
call fcn.0055020c
sub ecx, eax
cmp ecx, 4
jae 0x404c06
call fcn.0055020c
cmp ecx, 0x23
jbe 0x404c10
call fcn.0055020c
mov ecx, eax
push ecx
call fcn.004064f9
add esp, 4
push 0x5adfb5
lea ecx, [ebp - 0xc98]
mov byte [ebp - 0xccd], 0
mov dword [ebp - 0xc98], 0
call fcn.00405d30
mov byte [ebp - 4], 2
cmp byte [esi + 4], 0
je 0x404cba
cmp byte [esi + 0x178], 0
jne 0x404cba
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc98]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404ca8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x404ca4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x404ca4
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0xcb4]
call fcn.004035d0
xor al, al
jmp 0x40508b
mov ecx, edx
call esi
lea ecx, [ebp - 0xcb4]
call fcn.004035d0
xor al, al
jmp 0x40508b
cmp byte [esi + 0xb4], 0
jne 0x404ce0
lea ecx, [ebp - 0xc98]
call fcn.00403720
lea ecx, [ebp - 0xcb4]
call fcn.004035d0
xor al, al
jmp 0x40508b
cmp dword [esi + 0x12c], 0x10
lea eax, [esi + 0x118]
jb 0x404cf1
mov eax, dword [eax]
push eax
call fcn.00552dc4
lea ecx, [esi + 0x130]
add esp, 4
cmp dword [ecx + 0x14], 0x10
mov edi, eax
jb 0x404d0a
mov ecx, dword [ecx]
push ecx
call fcn.00552dc4
push 0x3e8
mov dword [ebp - 0xcd4], eax
lea eax, [ebp - 0x3fc]
push 0
push eax
call fcn.0054d330
push edi
lea eax, [ebp - 0x3fc]
push 0x3e8
push eax
call fcn.00552e1a
push 0x6a4
lea eax, [ebp - 0xc94]
push 0
push eax
call fcn.0054d330
push str.appname_qbdt_appcontext_cls_Component_QBMigratorTracker_scenario__message__messagetype_Information_token
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
add esi, 0xb8
add esp, 0x34
cmp dword [esi + 0x14], 0x10
jb 0x404d75
mov esi, dword [esi]
push esi
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
push str.message_
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
push str.Dot_Net_Framework_is_not_installed
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
push str.OS
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
cmp dword [ebp - 0xca0], 0x10
lea eax, [ebp - 0xcb4]
cmovae eax, dword [ebp - 0xcb4]
push eax
lea eax, [ebp - 0xc94]
push 0x6a4
push eax
call fcn.00552e74
lea eax, [ebp - 0xd5c]
add esp, 0x3c
lea esi, [ebp - 0x3fc]
mov dword [ebp - 0xd60], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x404e07
sub esi, ecx
lea eax, [ebp - 0xd5c]
push ecx
inc esi
lea ecx, [ebp - 0xd60]
push eax
mov edx, esi
call fcn.00406360
mov ecx, dword [ebp - 0xd60]
lea eax, [ebp - 0x3fc]
push esi
push eax
mov edx, esi
call fcn.00404870
push eax
call fcn.00404910
mov esi, dword [ebp - 0xd60]
lea eax, [ebp - 0xd5c]
add esp, 0x14
cmp esi, eax
je 0x404e5d
push esi
call fcn.00550017
add esp, 4
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0xcd8], edi
test edi, edi
je 0x405025
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push esi
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x405025
push dword [ebp - 0xcd4]
lea eax, [ebp - 0x3fc]
push 0x3e8
push eax
call fcn.00552e1a
add esp, 0xc
lea eax, [ebp - 0x3fc]
lea ecx, [ebp - 0xd60]
push eax
call fcn.00405e90
lea ecx, [ebp - 0xd5c]
mov esi, dword [eax]
mov eax, dword [ebp - 0xd60]
cmp eax, ecx
je 0x404ee9
push eax
call fcn.00550017
add esp, 4
push 0
push 0x880000
push 0
push 0
push 0
push esi
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x404fff
lea eax, [ebp - 0xc94]
push eax
lea ecx, [ebp - 0xccc]
call fcn.004036c0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0xcbc]
lea eax, [edi + 1]
push eax
call fcn.004064fe
mov edx, eax
lea ecx, [ebp - 0xccc]
add esp, 4
mov dword [ebp - 0xcd4], edx
lea eax, [edi + 1]
mov dword [edx], 0
cmp dword [ebp - 0xcb8], 0x10
cmovae ecx, dword [ebp - 0xccc]
push ecx
push eax
push edx
call fcn.00552e1a
add esp, 0xc
push edi
push dword [ebp - 0xcd4]
push esi
call fcn.004050b0
test al, al
je 0x404fcd
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov byte [ebp - 0xccd], 1
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0xc9c]
mov dword [ebp - 0xc9c], 0
push eax
push 0x1f3
lea eax, [ebp - 0x5f0]
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0xc9c]
je 0x404fc9
cmp eax, 0x1f4
jae 0x404ffa
mov byte [ebp + eax - 0x5f0], 0
test eax, eax
jne 0x404f90
push dword [ebp - 0xcd4]
call fcn.004064f9
add esp, 4
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
lea ecx, [ebp - 0xccc]
call fcn.004035d0
mov edi, dword [ebp - 0xcd8]
push ebx
call esi
jmp 0x40502b
call fcn.0054aa1e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
jmp 0x40502b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc98]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40507a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x405076
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x405076
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40507a
mov ecx, edx
call esi
lea ecx, [ebp - 0xcb4]
call fcn.004035d0
mov al, byte [ebp - 0xccd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054a3fc
mov esp, ebp
pop ebp
ret 8