Function at 0x40ae50
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x417978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov edx, dword [esp + 0x5c]
push ebp
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0x10]
push 0x400040
push ecx
push eax
mov eax, dword [esi + 0x3c]
push str.HTTP_1.0
push edx
push str.POST
push eax
mov ebp, 1
mov dword [esp + 0x30], 0x41fed8
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, eax
test edx, edx
mov dword [esi + 0x40], edx
jne 0x40aeba
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
mov edi, str.Accept:___r_n
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x80000000
push ecx
push str.Accept:___r_n
push edx
call ebx
test eax, eax
jne 0x40aeee
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
mov edi, str.Accept_Language:_zh_cn_zh_q0.5
or ecx, 0xffffffff
xor eax, eax
push 0x20000000
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x40]
push str.Accept_Language:_zh_cn_zh_q0.5
push ecx
call ebx
test eax, eax
jne 0x40af1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
mov edi, str.Keep_Alive:_300
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x40]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x20000000
push ecx
push str.Keep_Alive:_300
push edx
call ebx
test eax, eax
jne 0x40af50
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40af78
push 0x10000000
push ecx
push eax
mov eax, dword [esi + 0x40]
push eax
call ebx
test eax, eax
jne 0x40af78
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40afa0
push 0x10000000
push ecx
mov ecx, dword [esi + 0x40]
push eax
push ecx
call ebx
test eax, eax
jne 0x40afa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x40b04b
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x6c]
call fcn.00415e3c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x70]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40afd9
call edi
xor ebp, ebp
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x13
push eax
mov dword [esp + 0x28], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x40b014
call edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40b04b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
cmp eax, 0xc8
mov dword [esi + 0x390], eax
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x68]
je 0x40b044
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40b04b
call sub.MFC42.DLL_CString::CString
mov eax, ebp
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc