Function at 0x4135d0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e2832
push eax
mov eax, 0x1060
mov dword fs:[0], esp
call fcn.00415b80
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1080]
xor ebx, ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x1f], 0
mov dword [esp + 0x38], 0x535d58
mov dword [esp + 0x3c], ebx
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1078], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
push 7
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1080], 1
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.http:__
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.00415612
test bl, bl
jne 0x4136d0
lea edx, [esp + 0x14]
push 7
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x107c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1078], 1
call fcn.00415612
push 7
push 0x53521c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x4136fc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1078], 0
call fcn.00415612
lea ecx, [esp + 0x10]
mov dword [esp + 0x1078], 0xffffffff
call fcn.00415612
xor al, al
jmp 0x413a21
lea eax, [esi + 1]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x18]
mov edi, 0x50
call sub.MFC42.DLL_CString::Mid_1
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1080], 3
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x107c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1078], 3
call fcn.00415612
push 0x53520c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x4137bd
lea eax, [esi + 1]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00415612
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x107c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1078], 3
call fcn.00415612
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4139e7
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [esp + 0x108c]
push 4
push eax
push 2
push ebx
call esi
test eax, eax
je 0x4139e0
lea ecx, [esp + 0x1090]
push 4
push ecx
push 5
push ebx
call esi
test eax, eax
je 0x4139e0
lea edx, [esp + 0x1090]
push 4
push edx
push 6
push ebx
call esi
test eax, eax
je 0x4139e0
mov ecx, ebp
call fcn.00413500
mov eax, dword [esp + 0x10]
push 0
push 0x4000000
push 3
push 0
push 0
push edi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
test ebp, ebp
je 0x4139e0
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x38]
push 0x4000040
push ecx
push 0x556570
push str.HTTP_1.0
push edx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push str.Host:__s_r_n
push ecx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [eax - 8]
push 0x20000000
push ecx
push eax
push ebp
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test esi, esi
je 0x4139d9
mov edx, dword [esp + 0x1084]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x3c]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push edx
dec ecx
lea edx, [esp + 0x44]
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x413901
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x24]
push 0x535f6c
push eax
call fcn.004132f0
add esp, 0xc
jmp 0x4139d2
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00413500
lea ecx, [esp + 0x30]
push 0
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [esp + 0x28]
cmp eax, 0xc8
je 0x413943
push eax
push 0x535f48
push edi
call fcn.004132f0
add esp, 0xc
jmp 0x4139d2
mov edi, dword [esp + 0x1088]
push 0x556570
mov ecx, edi
call sub.MFC42.DLL_CString::operator
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x74]
push 0xfff
push ecx
push esi
call ebx
test eax, eax
je 0x4139a1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4139bc
lea edx, [esp + 0x70]
mov ecx, edi
push edx
mov byte [esp + eax + 0x74], 0
call fcn.004156cc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x70]
push eax
push 0xfff
push ecx
push esi
call ebx
test eax, eax
jne 0x413972
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x20]
push eax
push 0x535f20
push edx
call fcn.004132f0
add esp, 0xc
jmp 0x4139ce
push 0
push 8
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1078], 1
call fcn.00415612
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1078], 0
call fcn.00415612
lea ecx, [esp + 0x10]
mov dword [esp + 0x1078], 0xffffffff
call fcn.00415612
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1070]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x106c
ret 0x14