Function at 0x70066c16
Capabilities:
Check http status code
Make an http request with a cookie
Send data
Send http request

Disassembly:
mov eax, 0x7014d629
call fcn.70055494
mov eax, 0x142c
call fcn.70055600
mov eax, dword [section..cdata]
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
inc dword [ebx + 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1420], edi
mov dword [ebp - 0x1430], edi
mov dword [ebp - 0x1438], edi
mov dword [ebp - 0x142c], edi
mov dword [ebp - 0x1434], edi
mov dword [ebp - 0x1424], edi
call dword [eax + 0x2c]
mov esi, eax
cmp esi, 1
jne 0x700671db
push dword [ebx + 0xfc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp esi, 1
jne 0x700671db
xor eax, eax
cmp dword [ebx + 0x8c], edi
je 0x70066c97
mov eax, 0x800000
push edi
or eax, 0x84400000
push eax
push edi
push edi
push 0x700081cc
push dword [ebx + 0xd4]
push 0x700081c4
push dword [ebx + 0x84]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, edi
mov dword [ebx + 0x88], eax
jne 0x70066ce5
push 0xffffffffffffffff
push 0x70001d68
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 1
push 0xffffffffffffffe1
call fcn.700e1dcd
add esp, 0x14
jmp 0x70067083
cmp dword [ebx + 0x100], edi
je 0x70066d52
cmp dword [ebx + 0xf4], edi
je 0x70066d52
mov eax, dword [ebx + 0xf8]
cmp eax, edi
je 0x70066d52
add eax, 0x12
push eax
call fcn.700e1dcd
mov esi, eax
cmp esi, edi
pop ecx
mov dword [ebp - 0x1434], esi
je 0x70067067
push dword [ebx + 0xf4]
push 0x700081b4
push esi
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x3b
push esi
call dword [sym.imp.msvcrt.dll_strchr]
add esp, 0x14
cmp eax, edi
je 0x70066d3e
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70066d43
sub eax, edx
mov dword [ebp - 0x1424], eax
mov dword [ebp - 0x1414], 1
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0xa4]
push eax
push ecx
push dword [ebp - 0x1424]
xor esi, esi
push dword [ebp - 0x1434]
mov dword [ebp - 0x1418], edi
push dword [ebx + 0x88]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edi, eax
test edi, edi
jne 0x70066d9c
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x70066e39
mov ecx, dword [ebp - 0x1418]
cmp ecx, dword [ebp - 0x1414]
je 0x70066ed9
cmp ecx, 0x2eed
jb 0x70066deb
cmp ecx, 0x2eef
jbe 0x70066de6
cmp ecx, 0x2f05
je 0x70066de1
cmp ecx, 0x2f0b
jbe 0x70066deb
cmp ecx, 0x2f0d
ja 0x70066deb
push 2
pop edi
jmp 0x70066ded
xor edi, edi
inc edi
jmp 0x70066ded
xor edi, edi
push 0
push 7
push ecx
push dword [ebx + 0x88]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp edi, 1
mov esi, eax
jne 0x70066e0e
test esi, esi
je 0x70066f07
test esi, esi
jne 0x70066e28
cmp dword [ebp - 0x1418], esi
je 0x70066ed9
mov esi, 0x2f00
jmp 0x70066ed9
cmp esi, 0x2f00
jne 0x70066f21
jmp 0x70066ed9
test edi, edi
jne 0x70066ed9
cmp dword [ebp - 0x1418], 0x2f0c
jne 0x70066e7a
and dword [ebp - 0x1414], edi
push 4
lea eax, [ebp - 0x1414]
push eax
push 0x2f
push dword [ebx + 0x88]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x70066e1e
mov dword [ebp - 0x1418], 0x2f0d
jmp 0x70066e8a
cmp dword [ebp - 0x1418], 0x2f0d
jne 0x70066cc6
push 4
pop esi
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x141c]
push eax
push 0x1f
push dword [ebx + 0x88]
mov dword [ebp - 0x1414], esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or byte [ebp - 0x141b], 1
push esi
lea eax, [ebp - 0x141c]
push eax
push 0x1f
push dword [ebx + 0x88]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
mov esi, 0x2f00
je 0x70066cc6
cmp esi, 0x2f00
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1414], eax
jne 0x70066ef4
xor edi, edi
jmp 0x70066d5c
lea ecx, [ebx + 0x98]
call fcn.701332b2
cmp esi, 0x4c7
jne 0x70066f18
push 0xffffffffffffffff
push 0x70001d68
push 0x2ef1
jmp 0x70066cd4
cmp dword [ebp - 0x1418], 0
je 0x70066f33
push 0xffffffffffffffff
push 0x70001d68
push dword [ebp - 0x1418]
jmp 0x70066cd4
push 0
lea eax, [ebp - 0x1424]
push eax
lea eax, [ebp - 0x1414]
push eax
push 0x20000013
push dword [ebx + 0x88]
mov dword [ebp - 0x1424], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x70066f86
cmp dword [ebp - 0x1414], 0xc8
jbe 0x70066f86
push dword [ebp - 0x1414]
mov ecx, ebx
call fcn.700e1dcd
mov esi, eax
cmp esi, 1
jne 0x700671db
mov esi, 0x700081a8
lea edi, [ebp - 0x410]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1438]
push eax
lea eax, [ebp - 0x1430]
push eax
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x410]
push eax
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0xffff
push dword [ebx + 0x88]
xor edi, edi
mov dword [ebp - 0x1430], 0x400
mov dword [ebp - 0x1438], edi
call esi
cmp eax, edi
jne 0x700670da
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2f76
je 0x70066ff1
push 0xffffffffffffffff
push 0x70001d68
jmp 0x70066cd3
push edi
lea eax, [ebp - 0x1428]
push eax
lea eax, [ebp - 0x1410]
push eax
push 0x2b
push dword [ebx + 0x88]
mov dword [ebp - 0x1428], 0x1000
mov dword [ebp - 0x1438], edi
call esi
cmp eax, edi
je 0x700670a7
mov eax, dword [ebx + 0xf4]
cmp eax, edi
je 0x70067052
mov ecx, dword [ebp - 0x1428]
cmp ecx, edi
je 0x7006704e
cmp dword [ebx + 0xf8], ecx
jne 0x7006708a
lea edi, [ebp - 0x1410]
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x7006708a
xor edi, edi
cmp eax, edi
jne 0x700670a7
push 0x1000
call fcn.700e1dcd
cmp eax, edi
pop ecx
mov dword [ebx + 0xf4], eax
jne 0x7006708a
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call fcn.7006107f
push 0xffffffffffffffff
push edi
push esi
push 0x15
push 0xfffffffffffffffb
mov ecx, eax
call fcn.700e1dcd
mov esi, eax
jmp 0x700671db
mov edi, eax
lea esi, [ebp - 0x1410]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1428]
mov dword [ebx + 0xf8], eax
xor edi, edi
lea eax, [ebp - 0x1420]
push eax
push 8
lea eax, [ebp - 0x410]
push eax
mov ecx, ebx
mov dword [ebx + 0x94], edi
call fcn.700e1dcd
mov esi, eax
cmp esi, 1
jne 0x700671db
mov dword [ebx + 0x90], edi
jmp 0x700671e6
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push edi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push edi
push edi
call esi
cmp eax, edi
mov dword [ebp - 0x1420], eax
je 0x70067128
add eax, eax
push eax
call fcn.700e1dcd
cmp eax, edi
pop ecx
mov dword [ebp - 0x142c], eax
je 0x70067067
push dword [ebp - 0x1420]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push edi
push edi
call esi
cmp eax, edi
jne 0x7006713b
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0x2a
push 0xfffffffffffffffe
jmp 0x70066cd8
lea ecx, [ebp - 0x141c]
call fcn.70069775
push dword [ebp - 0x142c]
lea ecx, [ebp - 0x141c]
mov dword [ebp - 4], edi
call fcn.700e1dcd
cmp eax, 0xfffffffa
mov dword [ebp - 0x1420], eax
jne 0x700671c6
call fcn.700616fc
cmp eax, 0x86
jne 0x700671c6
mov eax, dword [ebx + 0xb8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7006717a
sub eax, esi
lea esi, [eax + 1]
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x1430], esi
call fcn.70055600
mov dword [ebp - 0x1414], esp
push esi
push dword [ebp - 0x1414]
push esi
push dword [ebx + 0xb8]
push edi
push edi
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, edi
jle 0x700671c6
push dword [ebp - 0x1414]
call fcn.700e1dcd
pop ecx
mov esi, dword [ebp - 0x1420]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x141c]
call fcn.7006977d
lea ecx, [ebx + 0x98]
call fcn.701332b2
lea eax, [ebp - 0x142c]
push eax
call fcn.700e1dcd
lea eax, [ebp - 0x1434]
push eax
call fcn.700e1dcd
pop ecx
pop ecx
mov eax, esi
lea esp, [ebp - 0x1444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.700555ea
pop edi
pop esi
pop ebx
leave
ret