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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e631
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x44e100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x440]
push eax
call fcn.00402430
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.004027b0
add esp, 8
mov byte [ebp - 4], 1
push 0
push 0
push 0
push 0
push str.A_WinHTTP_Example_Program_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x402972
push 0x409130
push 0x4405a8
push 0x44f878
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.0040cb20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0040cb40
nop
jmp 0x402d3c
push 0x3c
push 0
lea eax, [ebp - 0x4ac]
push eax
call fcn.0041eea0
add esp, 0xc
mov dword [ebp - 0x4ac], 0x3c
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], pe_nt_image_headers32
lea edx, [ebp - 0x410]
mov dword [ebp - 0x480], edx
mov dword [ebp - 0x47c], pe_nt_image_headers32
lea eax, [ebp - 0x4ac]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x402a26
push 0x409130
push 0x4405d8
push 0x44f878
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d820
mov edx, dword [ebp - 0x448]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.0040cb20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0040cb40
nop
jmp 0x402d3c
push 0
movzx eax, word [ebp - 0x494]
push eax
mov ecx, dword [ebp - 0x49c]
push ecx
mov edx, dword [ebp - 0x448]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
jne 0x402aa5
push 0x409130
push 0x440600
push 0x44f878
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d820
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.0040cb20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0040cb40
nop
jmp 0x402d3c
movzx ecx, word [ebp - 0x494]
cmp ecx, 0x1bb
jne 0x402ac0
mov dword [ebp - 0x458], 0x800000
jmp 0x402aca
mov dword [ebp - 0x458], 0
mov edx, dword [ebp - 0x458]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x480]
push eax
push str.POST
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x402b5e
push 0x409130
push 0x440648
push 0x44f878
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d820
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.0040cb20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0040cb40
nop
jmp 0x402d3c
mov dword [ebp - 0x45c], str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8
push 0
mov ecx, dword [ebp - 0x45c]
push ecx
call fcn.00421095
add esp, 4
push eax
mov edx, dword [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 0x464], eax
lea ecx, [ebp - 0x428]
call fcn.00416120
mov dword [ebp - 0x460], eax
push 0
mov ecx, dword [ebp - 0x460]
push ecx
mov edx, dword [ebp - 0x460]
push edx
lea ecx, [ebp - 0x428]
call fcn.004137b0
push eax
push 0
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x402c05
push 0x409130
push 0x4406f8
push 0x44f878
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d820
nop
jmp 0x402cf3
push 0
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x46c], 0
lea edx, [ebp - 0x44c]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x402cf3
mov ecx, dword [ebp - 0x44c]
add ecx, 1
push ecx
call fcn.0041c080
add esp, 4
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x468]
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x44c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.0041eea0
add esp, 0xc
lea edx, [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x450]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x402cd8
push 0x409100
mov eax, dword [ebp - 0x450]
push eax
push 0x440728
push 0x44f7c8
call fcn.004038e0
add esp, 8
push eax
call fcn.004038e0
add esp, 8
mov ecx, eax
call fcn.0040d820
nop
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x470], ecx
mov edx, dword [ebp - 0x470]
push edx
call fcn.0041c089
add esp, 4
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x448]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.0040cb20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0040cb40
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c2df
mov esp, ebp
pop ebp
ret