Function at 0x401eed
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.004034c0
push ebx
push esi
push edi
mov edi, 0x400
push edi
call fcn.004028cb
push 0x96
mov dword [ebp - 8], eax
call fcn.004028cb
pop ecx
xor esi, esi
pop ecx
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
mov dword [ebp - 0x14], str.text_
mov dword [ebp - 0x10], esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 8]
call fcn.00401bed
pop ecx
push eax
call fcn.00401b4d
push eax
call fcn.00401b53
push eax
push str.http:___sv_slic_ld_s_sm2_sm1_scontinueContinue
push dword [ebp - 8]
call fcn.00402c09
push dword [ebp - 8]
mov ebx, 0x40a82c
push str.The_URL:__s
push ebx
call fcn.00402c09
push dword [0x40a828]
push ebx
call fcn.00401016
push 0x3c
lea eax, [ebp - 0x50]
pop ebx
push ebx
push esi
push eax
call fcn.00403670
lea eax, [ebp - 0xc54]
add esp, 0x44
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
push esi
push esi
mov dword [ebp - 0x50], ebx
push dword [ebp - 8]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
movzx ebx, word [ebp - 0x38]
push esi
push esi
push esi
push esi
push str.WceHttp
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x401ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_open_WinInet:__ld
push dword [ebp - 4]
call fcn.00402c09
push 1
push esi
push str.Error
push dword [ebp - 4]
call fcn.00401dc0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.00402b01
push esi
push esi
mov eax, 0x423830
push 3
push eax
push eax
lea eax, [ebp - 0xc54]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
cmp ebx, esi
mov dword [ebp + 0x18], ebx
jne 0x40204a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_run_InternetConnect:__ld
push dword [ebp - 4]
call fcn.00402c09
push 1
push esi
push str.Error
push dword [ebp - 4]
call fcn.00401dc0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.00402b01
push esi
lea eax, [ebp - 0x14]
push 0x4403100
push eax
push esi
lea eax, [ebp - 0x1054]
push esi
push eax
push 0x409958
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, esi
mov dword [ebp + 0x10], eax
jne 0x4020a5
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_open_HTTP_Request:__ld
push dword [ebp - 4]
call fcn.00402c09
push 1
push esi
push str.Error
push dword [ebp - 4]
call fcn.00401dc0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.00402b01
push esi
mov ebx, str.Content_Type:_text__r_n
push esi
push ebx
call fcn.00402ce0
pop ecx
push eax
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x402100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HTTPSendRequest_failed:__ld
push dword [ebp - 4]
call fcn.00402c09
push 1
push esi
push str.Error
push dword [ebp - 4]
call fcn.00401dc0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x1c
push dword [ebp + 0x10]
call esi
push dword [ebp + 0x18]
call esi
push 0xffffffffffffffff
call fcn.00402b01
push 0x4098fc
mov dword [ebp - 0xc], esi
push dword [ebp + 0x14]
mov dword [ebp + 0xc], esi
call fcn.00402ff0
push 8
call fcn.004028cb
add esp, 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
lea eax, [ebp - 0x854]
push edi
push eax
push dword [ebp + 0x10]
call ebx
test eax, eax
je 0x4021ad
cmp dword [ebp - 0xc], esi
je 0x4021a8
cmp dword [ebp + 0xc], esi
jne 0x4021cd
push 0x401
lea eax, [ebp - 0x454]
push esi
push eax
call fcn.00403670
lea eax, [ebp - 0x854]
push 0x401
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.004034f0
push dword [ebp + 0x14]
lea eax, [ebp - 0x454]
push eax
call fcn.00401e0b
add esp, 0x20
cmp eax, esi
mov dword [ebp - 8], eax
je 0x402193
mov dword [ebp + 0xc], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x854]
push edi
push eax
push dword [ebp + 0x10]
call ebx
test eax, eax
jne 0x40213b
cmp dword [ebp + 0xc], esi
jne 0x4021cd
push 0xfffffffffffffffe
push 0x50010
push str.Unauthorized_Access
push str.You_cant_open_the_document_on_this_computer_because_all_of_the_licenses_purchased_for_this_document_have_already_been_used._n_nThis_program_will_now_exit.
call fcn.00401dc0
add esp, 0x10
push 0xfffffffffffffffe
call fcn.00402b01
push dword [ebp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0x18]
call esi
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret