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

Disassembly:
push 0xffffffffffffffff
push 0x44bd28
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 + 0x40]
push str.HTTP_1.0
push edx
push str.POST
push eax
mov ebp, 1
mov dword [esp + 0x30], 0x45fa90
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, eax
test edx, edx
mov dword [esi + 0x44], edx
jne 0x4365ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
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 0x43661e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
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 + 0x44]
push str.Accept_Language:_zh_cn_zh_q0.5
push ecx
call ebx
test eax, eax
jne 0x43664f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
mov edi, str.Keep_Alive:_300
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x44]
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 0x436680
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4366a8
push 0x10000000
push ecx
push eax
mov eax, dword [esi + 0x44]
push eax
call ebx
test eax, eax
jne 0x4366a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4366d0
push 0x10000000
push ecx
mov ecx, dword [esi + 0x44]
push eax
push ecx
call ebx
test eax, eax
jne 0x4366d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x43677b
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x6c]
call fcn.0044629a
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 + 0x44]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x436709
call edi
xor ebp, ebp
mov eax, dword [esi + 0x44]
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 0x436744
call edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x43677b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
cmp eax, 0xc8
mov dword [esi + 0x38c], eax
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x68]
je 0x436774
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x43677b
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