Function at 0x41d3f0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
mov eax, dword [0x453d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.Install
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x4535a4]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push eax
mov dword [ebp - 0x4ec], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0xb
mov edi, eax
push str.addsoft.txt
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x40c], 0xf
mov dword [ebp - 0x410], 0
mov byte [ebp - 0x420], 0
call fcn.0040b020
mov eax, dword [ebp - 0x420]
mov esi, 0x10
cmp dword [ebp - 0x40c], esi
jae 0x41d487
lea eax, [ebp - 0x420]
push 0
push 0x806cc200
push 0
push 0
push str.HTTP_1.1
push eax
push 0x448268
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x4d8], edi
test edi, edi
je 0x41d4ed
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41d4ed
cmp dword [ebp - 0x40c], esi
jb 0x41d4da
mov edx, dword [ebp - 0x420]
push edx
call fcn.0042cdb9
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0042d580
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x4f4]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0x13
push edi
mov dword [ebp - 0x4f4], 0x400
call ebx
mov ecx, 0x448264
lea eax, [ebp - 0x404]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d560
test dl, dl
je 0x41d55c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d560
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d540
xor eax, eax
jmp 0x41d565
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d5e3
mov ecx, 0x448260
lea eax, [ebp - 0x404]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d594
test dl, dl
je 0x41d590
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d594
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d574
xor eax, eax
jmp 0x41d599
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d5b6
push eax
push 0x448254
push 0x448244
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.0042ed83
cmp dword [ebp - 0x40c], esi
jb 0x41d5cd
mov eax, dword [ebp - 0x420]
push eax
call fcn.0042cdb9
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret
push 0xb
mov dword [ebp - 0x4d0], 0xa
call fcn.0042ce4f
add esp, 4
push 0
lea ecx, [ebp - 0x4d0]
push ecx
mov esi, eax
push esi
push 0x16
push edi
call ebx
test eax, eax
jne 0x41d646
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41d633
push esi
call fcn.0042cdc4
mov edx, dword [ebp - 0x4d0]
inc edx
push edx
call fcn.0042ce4f
add esp, 8
mov esi, eax
push 0
lea eax, [ebp - 0x4d0]
push eax
push esi
push 0x16
push edi
call ebx
test eax, eax
je 0x41d610
mov ecx, dword [ebp - 0x4d0]
push esi
mov byte [esi + ecx], 0
call fcn.0042cdc4
add esp, 4
push 0
push 0
lea edx, [ebp - 0x4d4]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x41db02
mov ebx, dword [ebp - 0x4d4]
lea eax, [ebx + 1]
push eax
call fcn.0042ce4f
push ebx
mov esi, eax
push 0
push esi
call fcn.0042d580
mov edx, dword [ebp - 0x4d4]
add esp, 0x10
lea ecx, [ebp - 0x4fc]
push ecx
push edx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
mov ebx, 0xf
mov eax, esi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x43c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d6d0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x43c]
call fcn.0040b020
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x458]
push ecx
call fcn.0041cdb0
mov esi, 0x10
add esp, 8
cmp dword [ebp - 0x428], esi
jb 0x41d718
mov edx, dword [ebp - 0x43c]
push edx
call fcn.0042cdb9
add esp, 4
test edi, edi
jne 0x41d722
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x4fc], 0
jne 0x41d787
cmp dword [ebp - 0x444], esi
jb 0x41d742
mov eax, dword [ebp - 0x458]
push eax
call fcn.0042cdb9
add esp, 4
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp dword [ebp - 0x40c], esi
jb 0x41d4da
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0042cdb9
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x458]
cmp dword [ebp - 0x444], esi
jae 0x41d79b
lea eax, [ebp - 0x458]
push 0x448240
push eax
call fcn.0042edeb
push 0x448240
push 0
mov esi, eax
call fcn.0042edeb
push 0x448240
push 0
mov edi, eax
call fcn.0042edeb
push 0x448240
push 0
mov ebx, eax
call fcn.0042edeb
add esp, 0x20
push esi
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x4cc], eax
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push str._AD1NAME
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp - 0x474]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.0040a240
lea eax, [ebp - 0x4e8]
push eax
call fcn.0041d2f0
mov eax, dword [ebp - 0x4e8]
add esp, 0x3c
push 0xffffffffffffffff
add eax, 0x1c
push esi
push eax
mov ecx, 0x4535a8
call fcn.0040a240
push edi
lea ecx, [ebp - 0x4ac]
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push str.AD1URL
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x4ac]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.0040a240
lea eax, [ebp - 0x430]
push eax
call fcn.0041d2f0
add esp, 0x3c
push eax
lea ecx, [ebp - 0x4e8]
call fcn.0041d290
lea ecx, [ebp - 0x430]
call fcn.0041cfe0
mov eax, dword [ebp - 0x4e8]
push 0xffffffffffffffff
add eax, 0x1c
push esi
push eax
mov ecx, 0x4535c4
call fcn.0040a240
push ebx
lea ecx, [ebp - 0x4c8]
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push str.AD2NAME
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x4c8]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.0040a240
lea eax, [ebp - 0x430]
push eax
call fcn.0041d2f0
add esp, 0x3c
push eax
lea ecx, [ebp - 0x4e8]
call fcn.0041d290
lea ecx, [ebp - 0x430]
call fcn.0041cfe0
mov eax, dword [ebp - 0x4e8]
push 0xffffffffffffffff
add eax, 0x1c
push esi
push eax
mov ecx, 0x4535e0
call fcn.0040a240
mov ecx, dword [ebp - 0x4cc]
push ecx
lea ecx, [ebp - 0x490]
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push str.AD2URL
call fcn.0040c170
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x490]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.0040a240
lea eax, [ebp - 0x430]
push eax
call fcn.0041d2f0
add esp, 0x3c
push eax
lea ecx, [ebp - 0x4e8]
call fcn.0041d290
lea ecx, [ebp - 0x430]
call fcn.0041cfe0
mov eax, dword [ebp - 0x4e8]
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x41d9a1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00407e20
push esi
push 0x3f
lea ecx, [ebp - 0x4cc]
call fcn.0041bf80
mov ecx, dword [ebp - 0x4cc]
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.0041c630
mov ecx, dword [eax]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41d9d4
sub eax, ebx
push eax
push ecx
mov ecx, 0x4535fc
call fcn.0040b020
mov eax, dword [ebp - 0x4f8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41da0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [ebp - 0x47c], ebx
jb 0x41da49
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.0042cdb9
add esp, 4
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x480], esi
mov byte [ebp - 0x490], 0
cmp dword [ebp - 0x4b4], ebx
jb 0x41da73
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.0042cdb9
add esp, 4
mov dword [ebp - 0x4b4], edi
mov dword [ebp - 0x4b8], esi
mov byte [ebp - 0x4c8], 0
cmp dword [ebp - 0x498], ebx
jb 0x41da9d
mov eax, dword [ebp - 0x4ac]
push eax
call fcn.0042cdb9
add esp, 4
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x49c], esi
mov byte [ebp - 0x4ac], 0
call fcn.0041cfe0
cmp dword [ebp - 0x460], ebx
jb 0x41dad2
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.0042cdb9
add esp, 4
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], esi
mov byte [ebp - 0x474], 0
cmp dword [ebp - 0x444], ebx
jb 0x41dafc
mov edx, dword [ebp - 0x458]
push edx
call fcn.0042cdb9
add esp, 4
mov edi, dword [ebp - 0x4d8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov eax, dword [ebp - 0x4f0]
push eax
call esi
mov ecx, dword [ebp - 0x4ec]
push ecx
call esi
cmp dword [ebp - 0x40c], 0x10
jb 0x41db35
mov edx, dword [ebp - 0x420]
push edx
call fcn.0042cdb9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret