Function at 0x4241a4
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48da66
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x4f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
push 0xf
mov dword [esp + 0x18], eax
pop eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov byte [esp + 0x98], cl
mov dword [esp + 0x4f8], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
mov bl, cl
mov byte [esp + 0x4f8], 1
mov edx, 0x2715
lea ecx, [esp + 0xb0]
call fcn.0041106e
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x42424f
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x18], eax
call fcn.004114c7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x424570
cmp dword [esi + 0x14], 8
jb 0x424280
mov esi, dword [esi]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push 0x50
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x42454a
cmp dword [edi + 0x14], 8
jb 0x4242a6
mov edi, dword [edi]
push 1
push 0x4000000
push 0x4bdb6c
push 0
push 0
push edi
push 0x4a4c74
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x424525
lea ecx, [esp + 0x44]
call fcn.0042404d
mov esi, eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4f8], 2
call fcn.0042404d
cmp dword [eax + 0x14], 8
jb 0x4242f5
mov eax, dword [eax]
push dword [ebp + 0x14]
push dword [esp + 0x18]
push dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0
push 1
lea ecx, [esp + 0x64]
mov esi, eax
call fcn.0040513f
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x500], 1
call fcn.0040513f
test esi, esi
je 0x42449f
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0xec]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x424377
push dword [esp + 0x14]
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0xa0]
call fcn.0040e332
cmp dword [esp + 0x14], 0
jne 0x424333
jmp 0x4243f0
call esi
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.00422b5c
push eax
mov edx, str.Get_request_data_error:
mov byte [esp + 0x4fc], 3
lea ecx, [esp + 0x60]
call fcn.0041c9ae
mov byte [esp + 0x4fc], 4
lea ecx, [esp + 0x48]
mov edx, eax
mov dword [esp], 0x4a4aa4
call fcn.0041a47d
pop ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00411c99
xor ebx, ebx
lea ecx, [esp + 0x44]
push ebx
push 1
call fcn.00403790
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00403790
push ebx
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x500], 1
call fcn.00403790
mov bl, 1
lea eax, [esp + 0x1c]
push eax
call fcn.00422beb
cmp eax, 0xffffffff
je 0x424471
cmp eax, 0x190
jl 0x42451c
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00405e4d
push eax
mov edx, str.Server_internal_error:
mov byte [esp + 0x4fc], 7
lea ecx, [esp + 0x48]
call fcn.0041c9ae
mov byte [esp + 0x4fc], 8
lea ecx, [esp + 0x78]
mov edx, eax
mov dword [esp], 0x4a4aa4
call fcn.0041a47d
pop ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00411c99
xor esi, esi
lea ecx, [esp + 0x74]
push esi
push 1
call fcn.00403790
push esi
push 1
lea ecx, [esp + 0x4c]
call fcn.00403790
push esi
jmp 0x424507
call esi
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00422b5c
push eax
mov edx, str.Unable_to_get_HTTP_status:
mov byte [esp + 0x4fc], 5
lea ecx, [esp + 0x48]
call fcn.0041c9ae
mov byte [esp + 0x4fc], 6
jmp 0x4244cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00422b5c
push eax
mov edx, str.Send_request_failed_with_error:
mov byte [esp + 0x4fc], 9
lea ecx, [esp + 0x48]
call fcn.0041c9ae
mov byte [esp + 0x4fc], 0xa
mov edx, eax
mov dword [esp], 0x4a4aa4
lea ecx, [esp + 0x78]
call fcn.0041a47d
pop ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00411c99
xor ebx, ebx
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.00403790
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00403790
push ebx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x500], 1
call fcn.00403790
mov bl, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42453e
mov esi, str.Request_cannot_be_completed.
push esi
call fcn.00402bda
pop ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00403846
mov bl, 1
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x424563
mov esi, str.Error_connecting_to_server.
push esi
call fcn.00402bda
pop ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00403846
mov bl, 1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x424589
mov esi, str.Error_initializing_WinInet_library.
push esi
call fcn.00402bda
pop ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00403846
mov bl, 1
test bl, bl
je 0x4245aa
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x78]
call fcn.00422ba3
push 0x4b8acc
lea eax, [esp + 0x78]
push eax
call fcn.0046ed8e
push 1
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xb8]
call fcn.004111f5
mov ecx, dword [esp + 0x20]
add eax, 0x18
push eax
mov byte [esp + 0x4fc], 0xb
call fcn.00404e91
lea ecx, [esp + 0xb0]
call fcn.004114c7
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00403790
push 0
push 1
lea ecx, [esp + 0xa0]
call fcn.00403790
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.0046a3dd
mov esp, ebp
pop ebp
ret 0x14