Function at 0x428c20
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435e3e
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4420a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x43778c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00406720
push 0
push 0
push 0
push 0
push str.WinHTTP_Example_1.0
mov byte [ebp - 4], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0xb8], ebx
test ebx, ebx
je 0x428e3f
push 0
push 0x50
push str.api.droid4x.cn
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x428e38
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
push 0
push 0
push 0
push ecx
push 0x438070
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x428e2a
push 0x20000000
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x428e1f
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
test esi, esi
je 0x428e19
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x428e19
lea ebx, [ebx]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x428d7d
call ebx
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x428e19
inc eax
push eax
call fcn.00430658
mov esi, eax
add esp, 4
test esi, esi
je 0x428e0f
mov ecx, dword [ebp - 0xb4]
inc ecx
push ecx
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xb4]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x428de8
cmp byte [esi], 0
jne 0x428dd0
xor ecx, ecx
jmp 0x428dde
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428dd5
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004063e0
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0xb4], 0
ja 0x428d50
mov ebx, dword [ebp - 0xb8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x428e30
mov dword [ebp - 0xb4], 0
mov ebx, dword [ebp - 0xb8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x428e30
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0xbc]
call esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0xb0]
call fcn.00415c50
push 0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.0041bb40
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
cmp byte [edx], 0
jne 0x428e85
xor ecx, ecx
jmp 0x428e99
mov ecx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428e90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00406720
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00418210
test al, al
mov byte [ebp - 4], 3
sete bl
cmp dword [ebp - 0x2c], 0x10
jb 0x428ed9
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x428eec
push 0
push 0x43778c
lea ecx, [ebp - 0x28]
call fcn.00406720
cmp dword [ebp + 0x20], 0
je 0x428f9e
cmp dword [0x442080], 0x10
mov eax, 0x44206c
mov dword [0x44207c], 0
cmovae eax, dword [0x44206c]
mov byte [eax], 0
cmp dword [ebp - 0x18], 0
je 0x428f8b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push str.MMNotice
push eax
call fcn.00414eb0
mov esi, eax
add esp, 0xc
cmp esi, 0x44206c
je 0x428f78
cmp dword [0x442080], 0x10
jb 0x428f52
push dword [0x44206c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
mov ecx, 0x44206c
mov dword [0x442080], 0xf
mov dword [0x44207c], 0
mov byte [0x44206c], 0
call fcn.00404e00
cmp dword [ebp - 0x2c], 0x10
jb 0x428fd0
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x428fd0
push 0xd
push str.MMNotice:test
mov ecx, 0x44206c
call fcn.00406720
jmp 0x428fd0
cmp dword [0x442098], 0x10
mov eax, 0x442084
push 0xffffffffffffffff
cmovae eax, dword [0x442084]
mov ecx, 0x442084
mov dword [0x442094], 0
push 0
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004064f0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.0041c030
lea ecx, [ebp - 0xb0]
call fcn.004041a0
cmp dword [ebp - 0x14], 0x10
jb 0x428ffb
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42901e
push dword [ebp + 8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004308d0
mov esp, ebp
pop ebp
ret