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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c890
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
xor edi, edi
mov dword [ebp - 4], 0
push edi
push edi
push edi
push edi
push str.WinHTTP_post_1.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
push 0x54
push eax
mov dword [ebp - 0x50], 0xaa0
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x678074
push edi
push 0x1bb
push dword [ebp - 0x54]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x678074
push 0x800000
push edi
push edi
push edi
push ebx
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x67807c
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x678081
sub ecx, edx
test edi, edi
je 0x67819f
push 0
push ecx
push ecx
push esi
push 0xffffffffffffffff
push str.Content_type:_application_json__charsetutf_8_r_n
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x67819f
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x6781a5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov byte [ebp - 4], 1
nop word [eax + eax]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push edi
call ebx
test eax, eax
je 0x678193
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x678157
inc eax
push eax
call fcn.0067db09
mov esi, eax
add esp, 4
test esi, esi
je 0x678189
mov ecx, dword [ebp - 0x44]
inc ecx
push ecx
push 0
push esi
call fcn.00690450
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x678186
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x678135
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00441730
push esi
call fcn.0067d914
add esp, 4
cmp dword [ebp - 0x44], 0
ja 0x6780e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push str.true
push dword [ebp - 0x18]
push eax
call fcn.004ad620
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0042fce0
test esi, esi
sete bl
jmp 0x6781a7
push esi
jmp 0x67818b
push 0
call fcn.0067d914
add esp, 4
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.0042fce0
jmp 0x6781a7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor bl, bl
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x6781b4
push edi
call esi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x6781be
push eax
call esi
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x6781c8
push eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret