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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4210c6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x42b00c]
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 - 0x54], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push 0x4245f8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.004051c0
mov ecx, dword [ebp + 0x30]
mov esi, closesocket
mov eax, esi
mov dword [ebp - 0x3c], 1
sub eax, ecx
cmp eax, 0x25
jb 0x40c0dc
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 - 0x58]
lea ecx, [ebp - 0x74]
call fcn.0040acb0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x3c], 3
push eax
lea ecx, [ebp + 0x20]
call fcn.00409fe0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x40bcc6
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c0ae
push ecx
push edx
call fcn.0041f6f2
add esp, 8
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x18]
sub esi, ecx
mov dword [ebp - 0x48], eax
cmp esi, 6
jb 0x40c0dc
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 - 0x58]
lea ecx, [ebp - 0x74]
call fcn.0040acb0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x3c], 7
push eax
lea ecx, [ebp + 8]
call fcn.00409fe0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x40bd4e
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c0ae
push ecx
push edx
call fcn.0041f6f2
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
jb 0x40bd61
mov ecx, dword [ebp + 8]
add eax, ecx
jmp 0x40bd66
add eax, ecx
lea ecx, [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040a650
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 - 0x5c], eax
push edi
push edi
push edi
push edi
push str.A_WinHTTP_Example_Program_1.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [0x42b9dc]
mov ecx, eax
mov eax, dword [0x42b9d8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], edx
cmp eax, edx
je 0x40bfc3
test ecx, ecx
je 0x40bdde
push 0
push 0x50
push dword [eax]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x44], eax
jmp 0x40bde1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40bdfe
push 0
push 0
push 0
push 0
push dword [ebp - 0x5c]
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x40be44
mov esi, dword [ebp - 0x48]
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40be10
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x40be20
mov eax, dword [ebp - 0x48]
sub edx, esi
push 0
push ecx
push edx
push eax
push 0xffffffffffffffff
push str.content_type:application_x_www_form_urlencoded
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x40be5a
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x40be90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.0040bbb0
mov eax, dword [ebp - 0x4c]
add esp, 8
inc dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x38]
je 0x40bf31
mov ecx, dword [ebp - 0x50]
jmp 0x40bdc8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40bf1d
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40bf31
inc eax
push eax
call fcn.0041f700
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 0x40beeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
jmp 0x40befa
mov ecx, dword [ebp - 0x54]
push esi
call fcn.00404690
push esi
push 0x424978
call fcn.0040bbb0
add esp, 8
push esi
call fcn.0041f1aa
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x40bf31
cmp dword [ebp - 0x30], 0
ja 0x40be90
jmp 0x40bf31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.0040bbb0
add esp, 8
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x40bfbd
mov esi, dword [0x42b9d8]
mov ecx, dword [0x42b9dc]
lea eax, [esi + eax*4]
cmp ecx, dword [0x42b9e0]
je 0x40bf8e
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
cmp esi, ecx
jne 0x40bf67
mov dword [ecx], eax
add dword [0x42b9dc], 4
jmp 0x40bf95
mov eax, dword [ecx - 4]
mov dword [ecx], eax
mov eax, ecx
add dword [0x42b9dc], 4
sub eax, esi
sub eax, 4
push eax
sub ecx, eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov dword [esi], eax
jmp 0x40bf95
push eax
push esi
call fcn.0040c0f0
mov eax, dword [0x42b9d8]
mov ecx, dword [ebp - 0x34]
inc ecx
lea edx, [eax + ecx*4]
mov eax, dword [0x42b9dc]
lea ecx, [edx + 4]
sub eax, ecx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sub dword [0x42b9dc], 4
cmp dword [ebp - 0x40], 0
jne 0x40bfd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.0040bbb0
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x40bfe4
push edi
call esi
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40bfee
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40bff8
push eax
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40c032
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c0ae
push ecx
push edx
call fcn.0041f6f2
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 0x40c076
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c06c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c0ae
push ecx
push edx
call fcn.0041f6f2
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 0x40c0be
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c0b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c0b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041f6f2
add esp, 8
mov eax, dword [ebp - 0x54]
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.0041f19c
mov esp, ebp
pop ebp
ret
call fcn.00401620
int3