Function at 0x41cc0c
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 0x482274
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4b0760]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0760]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
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 + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0xf
mov dword [esp + 0x14], eax
pop eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x94], cl
mov dword [esp + 0x4d8], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], cl
mov bl, cl
mov byte [esp + 0x4d8], 1
mov edx, 0x27d4
lea ecx, [esp + 0xac]
call fcn.00426aff
cmp dword [eax + 0x14], 8
jb 0x41ccb4
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 1
lea ecx, [esp + 0xb4]
mov dword [esp + 0x1c], eax
call fcn.0040224f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41cfd9
cmp dword [esi + 0x14], 8
jb 0x41cce9
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 + 0x20], eax
test eax, eax
je 0x41cfb3
cmp dword [edi + 0x14], 8
jb 0x41cd0f
mov edi, dword [edi]
push 1
push 0x4000000
push 0x4b1b6c
push 0
push 0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x41cf8e
lea ecx, [esp + 0x58]
call fcn.00426d18
mov esi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d8], 2
call fcn.00426d18
cmp dword [eax + 0x14], 8
jb 0x41cd5e
mov eax, dword [eax]
push dword [ebp + 0x14]
push dword [esp + 0x14]
push dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0
push 1
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.0040224f
push 0
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x4e0], 1
call fcn.0040224f
test esi, esi
je 0x41cf08
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0xcc]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41cde0
push dword [esp + 0x10]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004035a0
cmp dword [esp + 0x10], 0
jne 0x41cd9c
jmp 0x41ce59
call esi
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.0041b94b
push eax
mov edx, str.Get_request_data_error:
mov byte [esp + 0x4dc], 3
lea ecx, [esp + 0x44]
call fcn.00413898
mov byte [esp + 0x4dc], 4
lea ecx, [esp + 0x5c]
mov edx, eax
mov dword [esp], 0x498c00
call fcn.0041383e
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403333
xor ebx, ebx
lea ecx, [esp + 0x58]
push ebx
push 1
call fcn.0040220b
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.0040220b
push ebx
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x4e0], 1
call fcn.0040220b
mov bl, 1
lea eax, [esp + 0x18]
push eax
call fcn.0041ba1c
cmp eax, 0xffffffff
je 0x41ceda
cmp eax, 0x190
jl 0x41cf85
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0040471c
push eax
mov edx, str.Server_internal_error:
mov byte [esp + 0x4dc], 7
lea ecx, [esp + 0x5c]
call fcn.00413898
mov byte [esp + 0x4dc], 8
lea ecx, [esp + 0x74]
mov edx, eax
mov dword [esp], 0x498c00
call fcn.0041383e
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403333
xor esi, esi
lea ecx, [esp + 0x70]
push esi
push 1
call fcn.0040220b
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.0040220b
push esi
jmp 0x41cf70
call esi
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0041b94b
push eax
mov edx, str.Unable_to_get_HTTP_status:
mov byte [esp + 0x4dc], 5
lea ecx, [esp + 0x5c]
call fcn.00413898
mov byte [esp + 0x4dc], 6
jmp 0x41cf38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0041b94b
push eax
mov edx, str.Send_request_failed_with_error:
mov byte [esp + 0x4dc], 9
lea ecx, [esp + 0x5c]
call fcn.00413898
mov byte [esp + 0x4dc], 0xa
mov edx, eax
mov dword [esp], 0x498c00
lea ecx, [esp + 0x74]
call fcn.0041383e
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403333
xor ebx, ebx
lea ecx, [esp + 0x70]
push ebx
push 1
call fcn.0040220b
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.0040220b
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e0], 1
call fcn.0040220b
mov bl, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41cfa7
mov esi, str.Request_cannot_be_completed.
push esi
call fcn.00401cbd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402295
mov bl, 1
push dword [esp + 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41cfcc
mov esi, str.Error_connecting_to_server.
push esi
call fcn.00401cbd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402295
mov bl, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41cff2
mov esi, str.Error_initializing_WinInet_library.
push esi
call fcn.00401cbd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402295
mov bl, 1
test bl, bl
je 0x41d013
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x74]
call fcn.0041b992
push 0x4acc50
lea eax, [esp + 0x74]
push eax
call fcn.00464fbe
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
call fcn.00426823
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0040220b
push 0
push 1
lea ecx, [esp + 0x9c]
call fcn.0040220b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.004600e1
mov esp, ebp
pop ebp
ret 0x14